From bcc3515dde493f905d64eda683269bd5a3f0d586 Mon Sep 17 00:00:00 2001 From: Swann Date: Sun, 25 Aug 2019 16:30:20 +0200 Subject: [PATCH] feat: diff on matrix changes for objects --- bl_types/bl_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl_types/bl_object.py b/bl_types/bl_object.py index 1b52411..653b1f0 100644 --- a/bl_types/bl_object.py +++ b/bl_types/bl_object.py @@ -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