feat: diff on matrix changes for objects

This commit is contained in:
Swann 2019-08-25 16:30:20 +02:00
parent e35867dce6
commit bcc3515dde

View File

@ -67,7 +67,7 @@ class BlObject(ReplicatedDatablock):
self.pointer = bpy.data.objects.get(object_name)
def diff(self):
return self.dump(pointer=self.pointer)['location'] != self.buffer['location']
return self.dump(pointer=self.pointer)['matrix_world'] != self.buffer['matrix_world']
bl_id = "objects"
bl_class = bpy.types.Object