fix for python 2.6 compatibility
This commit is contained in:
parent
9c70d948aa
commit
783af1a918
@ -436,7 +436,7 @@ class MeshData(object):
|
||||
elif self._faceColorsIndexedByFaces is not None:
|
||||
names.append('_faceColorsIndexedByFaces')
|
||||
|
||||
state = {n:getattr(self, n) for n in names}
|
||||
state = dict([(n,getattr(self, n)) for n in names])
|
||||
return pickle.dumps(state)
|
||||
|
||||
def restore(self, state):
|
||||
|
Loading…
Reference in New Issue
Block a user