Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-11-26 21:45:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-26 21:45:08 +0300
commit9d026b30e7fec37a90c7ab565d9522cc22e8b2de (patch)
tree00ebc097e27833b83a89da029eca1b26798e2f20 /release/scripts/ui/properties_object_constraint.py
parent7762aa8027c511521f46bbd529ac2f945655788d (diff)
more rna property renaming, axis_x --> use_x, rotationx --> use_rotation_x
Diffstat (limited to 'release/scripts/ui/properties_object_constraint.py')
-rw-r--r--release/scripts/ui/properties_object_constraint.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/release/scripts/ui/properties_object_constraint.py b/release/scripts/ui/properties_object_constraint.py
index e0e2b063395..54efa733152 100644
--- a/release/scripts/ui/properties_object_constraint.py
+++ b/release/scripts/ui/properties_object_constraint.py
@@ -112,21 +112,21 @@ class ConstraintButtonsPanel(bpy.types.Panel):
col = split.column()
col.label(text="Location:")
- col.prop(con, "locationx", text="X")
- col.prop(con, "locationy", text="Y")
- col.prop(con, "locationz", text="Z")
+ col.prop(con, "use_location_x", text="X")
+ col.prop(con, "use_location_y", text="Y")
+ col.prop(con, "use_location_z", text="Z")
col = split.column()
col.label(text="Rotation:")
- col.prop(con, "rotationx", text="X")
- col.prop(con, "rotationy", text="Y")
- col.prop(con, "rotationz", text="Z")
+ col.prop(con, "use_rotation_x", text="X")
+ col.prop(con, "use_rotation_y", text="Y")
+ col.prop(con, "use_rotation_z", text="Z")
col = split.column()
col.label(text="Scale:")
- col.prop(con, "sizex", text="X")
- col.prop(con, "sizey", text="Y")
- col.prop(con, "sizez", text="Z")
+ col.prop(con, "use_scale_x", text="X")
+ col.prop(con, "use_scale_y", text="Y")
+ col.prop(con, "use_scale_z", text="Z")
split = layout.split()
@@ -683,9 +683,9 @@ class ConstraintButtonsPanel(bpy.types.Panel):
if con.shrinkwrap_type == 'PROJECT':
row = layout.row(align=True)
- row.prop(con, "axis_x")
- row.prop(con, "axis_y")
- row.prop(con, "axis_z")
+ row.prop(con, "use_x")
+ row.prop(con, "use_y")
+ row.prop(con, "use_z")
def DAMPED_TRACK(self, context, layout, con, wide_ui):
self.target_template(layout, con, wide_ui)