diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-07-29 10:32:30 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-07-29 10:32:30 +0400 |
commit | b46d8955509e805f06b76a6fd800ecb4edee113b (patch) | |
tree | 7ed0b1a3b5d04ab48d3e9062ff02ce54961ecb06 /release/scripts/startup/bl_ui/properties_object_constraint.py | |
parent | 6960127d2609620d52620539388ada5cb466bab2 (diff) | |
parent | 26589497529ca3c8da85391d4976d286a371e258 (diff) |
Merging r36529-38806bge_components
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_object_constraint.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object_constraint.py | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object_constraint.py b/release/scripts/startup/bl_ui/properties_object_constraint.py index 59f9ca16d1a..5f79dd3127a 100644 --- a/release/scripts/startup/bl_ui/properties_object_constraint.py +++ b/release/scripts/startup/bl_ui/properties_object_constraint.py @@ -651,6 +651,24 @@ class ConstraintButtonsPanel(): sub.prop(con, "from_min_z", text="Min") sub.prop(con, "from_max_z", text="Max") + col = layout.column() + row = col.row() + row.label(text="Source to Destination Mapping:") + + # note: chr(187) is the ASCII arrow ( >> ). Blender Text Editor can't + # open it. Thus we are using the hardcoded value instead. + row = col.row() + row.prop(con, "map_to_x_from", expand=False, text="") + row.label(text=" %s X" % chr(187)) + + row = col.row() + row.prop(con, "map_to_y_from", expand=False, text="") + row.label(text=" %s Y" % chr(187)) + + row = col.row() + row.prop(con, "map_to_z_from", expand=False, text="") + row.label(text=" %s Z" % chr(187)) + split = layout.split() col = split.column() @@ -661,7 +679,6 @@ class ConstraintButtonsPanel(): col = split.column() col.label(text="X:") - col.row().prop(con, "map_to_x_from", expand=True) sub = col.column(align=True) sub.prop(con, "to_min_x", text="Min") @@ -669,7 +686,6 @@ class ConstraintButtonsPanel(): col = split.column() col.label(text="Y:") - col.row().prop(con, "map_to_y_from", expand=True) sub = col.column(align=True) sub.prop(con, "to_min_y", text="Min") @@ -677,7 +693,6 @@ class ConstraintButtonsPanel(): col = split.column() col.label(text="Z:") - col.row().prop(con, "map_to_z_from", expand=True) sub = col.column(align=True) sub.prop(con, "to_min_z", text="Min") |