Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBassam Kurdali <bkurdali@freefactory.org>2012-02-14 00:43:24 +0400
committerBassam Kurdali <bkurdali@freefactory.org>2012-02-14 00:43:24 +0400
commitf4a76dd604eb629fe2635615b36286f5e12e8d07 (patch)
tree1cfdb4b69cf304df9a4a4b41da70400b8d922b1f
parenta6d7d6c040ff61c7b894cb374ded7c5d450290c2 (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
-rw-r--r--space_view3d_copy_attributes.py3
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