diff options
author | Bassam Kurdali <bkurdali@freefactory.org> | 2012-02-14 00:43:24 +0400 |
---|---|---|
committer | Bassam Kurdali <bkurdali@freefactory.org> | 2012-02-14 00:43:24 +0400 |
commit | f4a76dd604eb629fe2635615b36286f5e12e8d07 (patch) | |
tree | 1cfdb4b69cf304df9a4a4b41da70400b8d922b1f /space_view3d_copy_attributes.py | |
parent | a6d7d6c040ff61c7b894cb374ded7c5d450290c2 (diff) |
fixed bug where copy protected transform wasn't working; lock_rotations_4d is a bool, just copy, don't try to iterate on it.v2.62
Diffstat (limited to 'space_view3d_copy_attributes.py')
-rw-r--r-- | space_view3d_copy_attributes.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index 4adab035..d0ca2e08 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -357,8 +357,7 @@ def obLok(ob, active, context): ob.lock_location[index] = state for index, state in enumerate(active.lock_rotation): ob.lock_rotation[index] = state - for index, state in enumerate(active.lock_rotations_4d): - ob.lock_rotations_4d[index] = state + ob.lock_rotations_4d = active.lock_rotations_4d ob.lock_rotation_w = active.lock_rotation_w for index, state in enumerate(active.lock_scale): ob.lock_scale[index] = state |