From f4a76dd604eb629fe2635615b36286f5e12e8d07 Mon Sep 17 00:00:00 2001 From: Bassam Kurdali <bkurdali@freefactory.org> Date: Mon, 13 Feb 2012 20:43:24 +0000 Subject: [PATCH] fixed bug where copy protected transform wasn't working; lock_rotations_4d is a bool, just copy, don't try to iterate on it. --- space_view3d_copy_attributes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index 4adab0353..d0ca2e08b 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 -- GitLab