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:
Diffstat (limited to 'space_view3d_align_tools.py')
-rw-r--r--space_view3d_align_tools.py10
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()