replacing -> arrows by proper ASCII arrows on Transformation Constraint
[blender-staging.git] / release / scripts / startup / bl_ui / properties_object_constraint.py
index 7c2fe76fe1481a9d86b155afcf3e85cb0096308c..03823ad7345ca68c2e88a4f8da343c30e9ac90d6 100644 (file)
@@ -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()