diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2011-06-06 03:38:11 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2011-06-06 03:38:11 +0400 |
commit | 7da45bcbcbda60fe1affa811f629e3e4b82cce1f (patch) | |
tree | 67370635ba6d5d40bacb7c3fd05d491ed5b01386 /release/scripts | |
parent | 5922b6950183f28de9143b326385507e46f264ff (diff) |
replacing -> arrows by proper ASCII arrows on Transformation Constraint
Note: Text Editor doesn't support this chr(187) properly. I hardcoded and commented the ui file. I hope it's fine.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object_constraint.py | 8 |
1 files changed, 5 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 7c2fe76fe14..03823ad7345 100644 --- a/release/scripts/startup/bl_ui/properties_object_constraint.py +++ b/release/scripts/startup/bl_ui/properties_object_constraint.py @@ -655,17 +655,19 @@ class ConstraintButtonsPanel(): 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=" -> X") + row.label(text=" %s X" % chr(187)) row = col.row() row.prop(con, "map_to_y_from", expand=False, text="") - row.label(text=" -> Y") + row.label(text=" %s Y" % chr(187)) row = col.row() row.prop(con, "map_to_z_from", expand=False, text="") - row.label(text=" -> Z") + row.label(text=" %s Z" % chr(187)) split = layout.split() |