From d433e8f2413a14b45e96bbd53a93cc754f2f8c11 Mon Sep 17 00:00:00 2001 From: Swann Date: Tue, 6 Jul 2021 14:29:20 +0200 Subject: [PATCH] fix: transform offset for object animated with a curve constraint Related to #214 --- multi_user/bl_types/bl_object.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/multi_user/bl_types/bl_object.py b/multi_user/bl_types/bl_object.py index 53a342d..bc3cad2 100644 --- a/multi_user/bl_types/bl_object.py +++ b/multi_user/bl_types/bl_object.py @@ -620,10 +620,8 @@ class BlObject(ReplicatedDatablock): transform = data.get('transforms', None) if transform: - datablock.matrix_parent_inverse = mathutils.Matrix( - transform['matrix_parent_inverse']) + datablock.matrix_parent_inverse = mathutils.Matrix(transform['matrix_parent_inverse']) datablock.matrix_basis = mathutils.Matrix(transform['matrix_basis']) - datablock.matrix_local = mathutils.Matrix(transform['matrix_local']) @staticmethod