diff options
author | Jonathan Smith <j.jaydez@gmail.com> | 2010-06-20 10:40:38 +0400 |
---|---|---|
committer | Jonathan Smith <j.jaydez@gmail.com> | 2010-06-20 10:40:38 +0400 |
commit | 8c949bb496b60e6ad2153a704a7b879377991550 (patch) | |
tree | 70a906f94278ac91f23a1d728f2b6831c88823e6 /space_view3d_align_tools.py | |
parent | 7a770625b6d814a9277396f0e14d14cab237c4d6 (diff) |
Changed capital letter to lowercase so that aligning scale would work
Diffstat (limited to 'space_view3d_align_tools.py')
-rw-r--r-- | space_view3d_align_tools.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/space_view3d_align_tools.py b/space_view3d_align_tools.py index 0da26bd5..0dfe442b 100644 --- a/space_view3d_align_tools.py +++ b/space_view3d_align_tools.py @@ -144,19 +144,19 @@ def RotZ(context): ## Aling Scale def ScaleAll(context): for i in bpy.context.selected_objects: - i.Scale = bpy.context.active_object.Scale + i.scale = bpy.context.active_object.scale def ScaleX(context): for i in bpy.context.selected_objects: - i.Scale.x = bpy.context.active_object.Scale.x + i.scale.x = bpy.context.active_object.scale.x def ScaleY(context): for i in bpy.context.selected_objects: - i.Scale.y = bpy.context.active_object.Scale.y + i.scale.y = bpy.context.active_object.scale.y def ScaleZ(context): for i in bpy.context.selected_objects: - i.Scale.z = bpy.context.active_object.Scale.z + i.scale.z = bpy.context.active_object.scale.z ## Classes @@ -357,4 +357,4 @@ def unregister(): bpy.types.unregister(AlignScaleZOperator) if __name__ == "__main__": - register()
\ No newline at end of file + register() |