[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2994] trunk/py/scripts/addons/ space_view3d_copy_attributes.py: fixed bug where copy protected transform wasn't working; lock_rotations_4d is a bool, just copy, don't try to iterate on it.
bassam kurdali
bkurdali at freefactory.org
Mon Feb 13 21:43:34 CET 2012
Revision: 2994
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2994
Author: bassamk
Date: 2012-02-13 20:43:24 +0000 (Mon, 13 Feb 2012)
Log Message:
-----------
fixed bug where copy protected transform wasn't working; lock_rotations_4d is a bool, just copy, don't try to iterate on it.
Modified Paths:
--------------
trunk/py/scripts/addons/space_view3d_copy_attributes.py
Modified: trunk/py/scripts/addons/space_view3d_copy_attributes.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_copy_attributes.py 2012-02-13 11:31:33 UTC (rev 2993)
+++ trunk/py/scripts/addons/space_view3d_copy_attributes.py 2012-02-13 20:43:24 UTC (rev 2994)
@@ -357,8 +357,7 @@
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
More information about the Bf-extensions-cvs
mailing list