Skip to content
Snippets Groups Projects
Commit f4a76dd6 authored by Bassam Kurdali's avatar Bassam Kurdali
Browse files

fixed bug where copy protected transform wasn't working; lock_rotations_4d is...

fixed bug where copy protected transform wasn't working; lock_rotations_4d is a bool, just copy, don't try to iterate on it.
parent a6d7d6c0
No related branches found
No related tags found
No related merge requests found
...@@ -357,8 +357,7 @@ def obLok(ob, active, context): ...@@ -357,8 +357,7 @@ def obLok(ob, active, context):
ob.lock_location[index] = state ob.lock_location[index] = state
for index, state in enumerate(active.lock_rotation): for index, state in enumerate(active.lock_rotation):
ob.lock_rotation[index] = state ob.lock_rotation[index] = state
for index, state in enumerate(active.lock_rotations_4d): ob.lock_rotations_4d = active.lock_rotations_4d
ob.lock_rotations_4d[index] = state
ob.lock_rotation_w = active.lock_rotation_w ob.lock_rotation_w = active.lock_rotation_w
for index, state in enumerate(active.lock_scale): for index, state in enumerate(active.lock_scale):
ob.lock_scale[index] = state ob.lock_scale[index] = state
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment