[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [746] trunk/py/scripts/addons/ space_view3d_align_tools.py: Changed capital letter to lowercase so that aligning scale would work
Jonathan Smith
j.jaydez at gmail.com
Sun Jun 20 08:40:38 CEST 2010
Revision: 746
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=746
Author: jaydez
Date: 2010-06-20 08:40:38 +0200 (Sun, 20 Jun 2010)
Log Message:
-----------
Changed capital letter to lowercase so that aligning scale would work
Modified Paths:
--------------
trunk/py/scripts/addons/space_view3d_align_tools.py
Modified: trunk/py/scripts/addons/space_view3d_align_tools.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_align_tools.py 2010-06-20 06:20:09 UTC (rev 745)
+++ trunk/py/scripts/addons/space_view3d_align_tools.py 2010-06-20 06:40:38 UTC (rev 746)
@@ -144,19 +144,19 @@
## 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 @@
bpy.types.unregister(AlignScaleZOperator)
if __name__ == "__main__":
- register()
\ No newline at end of file
+ register()
More information about the Bf-extensions-cvs
mailing list