diff options
author | William Reynish <william@reynish.com> | 2009-08-13 02:16:47 +0400 |
---|---|---|
committer | William Reynish <william@reynish.com> | 2009-08-13 02:16:47 +0400 |
commit | 44ca632ce77edbbb0a85f5ca8dde26c68f9efbd1 (patch) | |
tree | e86c4d63968c4bf328383be9b3ef560944e6a9de /release/ui/buttons_object_constraint.py | |
parent | 78c2330550dfb8e43f1c2e5b5c8396138bece83f (diff) |
Added game soft body settings, and cleaned up layout there slightly.
Also converted some other percentage properties to use sliders, and a few other small layout tweaks.
Diffstat (limited to 'release/ui/buttons_object_constraint.py')
-rw-r--r-- | release/ui/buttons_object_constraint.py | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/release/ui/buttons_object_constraint.py b/release/ui/buttons_object_constraint.py index 5ee6aba1f05..505fa57fa0b 100644 --- a/release/ui/buttons_object_constraint.py +++ b/release/ui/buttons_object_constraint.py @@ -361,9 +361,9 @@ class ConstraintButtonsPanel(bpy.types.Panel): def STRETCH_TO(self, layout, con): self.target_template(layout, con) - col = layout.column(align=True) - col.itemR(con, "original_length", text="Rest Length") - col.itemO("constraint.stretchto_reset") + row = layout.row() + row.itemR(con, "original_length", text="Rest Length") + row.itemO("constraint.stretchto_reset", text="Reset") col = layout.column() col.itemR(con, "bulge", text="Volume Variation") @@ -395,19 +395,21 @@ class ConstraintButtonsPanel(bpy.types.Panel): row = layout.row() row.itemR(con, "disable_linked_collision", text="No Collision") - row.itemR(con, "draw_pivot") + row.itemR(con, "draw_pivot", text="Display Pivot") split = layout.split() - col = split.column() - col.itemR(con, "pivot_x") - col.itemR(con, "pivot_y") - col.itemR(con, "pivot_z") + col = split.column(align=True) + col.itemL(text="Pivot:") + col.itemR(con, "pivot_x", text="X") + col.itemR(con, "pivot_y", text="Y") + col.itemR(con, "pivot_z", text="Z") - col = split.column() - col.itemR(con, "axis_x") - col.itemR(con, "axis_y") - col.itemR(con, "axis_z") + col = split.column(align=True) + col.itemL(text="Axis:") + col.itemR(con, "axis_x", text="X") + col.itemR(con, "axis_y", text="Y") + col.itemR(con, "axis_z", text="Z") #Missing: Limit arrays (not wrapped in RNA yet) |