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:
authorJoshua Leung <aligorith@gmail.com>2009-07-11 16:54:17 +0400
committerJoshua Leung <aligorith@gmail.com>2009-07-11 16:54:17 +0400
commit0096a3dee2082d5dd15278a2e5627b6446f18e0a (patch)
tree30d27b624d546a9f52b1a9e38c1f0b48f07af1eb /release/ui/buttons_object_constraint.py
parent10d14e72599e891ce253e37826ce6ed3c0aecd8d (diff)
2.5 - Made more operators for constraint buttons
* Move Up/Down and Delete are now operators * Made TrackTo constraint use expanded enum toggles for up axis too. --> BUG ALERT: specifying name and expand in the arguments to itemR doesn't work (name gets skipped)
Diffstat (limited to 'release/ui/buttons_object_constraint.py')
-rw-r--r--release/ui/buttons_object_constraint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/ui/buttons_object_constraint.py b/release/ui/buttons_object_constraint.py
index 142e9045ec7..12aed082381 100644
--- a/release/ui/buttons_object_constraint.py
+++ b/release/ui/buttons_object_constraint.py
@@ -109,7 +109,6 @@ class ConstraintButtonsPanel(bpy.types.Panel):
sub.itemR(con, "sizey", text="Y")
sub.itemR(con, "sizez", text="Z")
- # Missing
row = layout.row()
row.itemO("CONSTRAINT_OT_childof_set_inverse")
row.itemO("CONSTRAINT_OT_childof_clear_inverse")
@@ -122,6 +121,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
row.itemR(con, "track", expand=True)
row = layout.row()
+ #row.itemR(con, "up", text="Up", expand=True) # XXX: up and expand don't play nice together
row.itemR(con, "up", text="Up")
row.itemR(con, "target_z")