fix(helpers): camera, lights and material loading error

This commit is contained in:
swann
2019-05-01 18:51:51 +02:00
parent cf16dbc788
commit 8c6f57efbb
3 changed files with 47 additions and 45 deletions

View File

@ -28,9 +28,6 @@ class RCFMessage(object):
self.body = body
self.id = id
def apply(self):
pass
def store(self, dikt):
"""Store me in a dict if I have anything to store"""
# this currently erasing old value
@ -41,9 +38,6 @@ class RCFMessage(object):
else:
dikt[self.key] = self
# elif self.key in dikt:
# del dikt[self.key]
def send(self, socket):
"""Send key-value message to socket; any empty frames are sent as such."""
key = ''.encode() if self.key is None else self.key.encode()