Merge branch '214-animated-object-transform-not-correctly-sync' into 'develop'

Resolve "Animated object transform not correctly sync"

See merge request slumber/multi-user!137
This commit is contained in:
Swann Martinez 2021-07-06 12:32:39 +00:00
commit f0cc63b6f0

View File

@ -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