diff options
Diffstat (limited to 'oscurart_tools/mesh/apply_linked_meshes.py')
-rw-r--r-- | oscurart_tools/mesh/apply_linked_meshes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oscurart_tools/mesh/apply_linked_meshes.py b/oscurart_tools/mesh/apply_linked_meshes.py index 7615c426..0bd7bf47 100644 --- a/oscurart_tools/mesh/apply_linked_meshes.py +++ b/oscurart_tools/mesh/apply_linked_meshes.py @@ -35,7 +35,7 @@ def applyLRTEx(self, context): actObj.rotation_euler = (0,0,0) actObj.scale = (1,1,1) - for ob in linkedObjects: + for ob in linkedObjects: ob.matrix_world = ob.matrix_world @ actObj.matrix_world.inverted() @@ -53,8 +53,8 @@ class ApplyLRT(bpy.types.Operator): def execute(self, context): applyLRTEx(self, context) return {'FINISHED'} - - + + |