diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-14 20:54:07 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-18 13:11:06 +0300 |
commit | f3b7e99c04bef3d4070cef3cae92ee7b1d3d11ef (patch) | |
tree | 4f2c931591fd68c48928afd6f239009e92e39ec1 /release | |
parent | 5aa5066c3ba8f11ad5d435e4f571b3aabd31cb4e (diff) |
UI: use monochrome lock icons next to decorators.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py index 65126691d8c..1b49127be76 100644 --- a/release/scripts/startup/bl_ui/properties_object.py +++ b/release/scripts/startup/bl_ui/properties_object.py @@ -58,7 +58,7 @@ class OBJECT_PT_transform(ObjectButtonsPanel, Panel): row = col.row(align=True) row.prop(ob, "location") row.use_property_decorate = False - row.prop(ob, "lock_location", text="", emboss=False) + row.prop(ob, "lock_location", text="", emboss=False, icon='DECORATE_UNLOCKED') if ob.rotation_mode == 'QUATERNION': col = flow.column() @@ -66,8 +66,8 @@ class OBJECT_PT_transform(ObjectButtonsPanel, Panel): row.prop(ob, "rotation_quaternion", text="Rotation") sub = row.column(align=True) sub.use_property_decorate = False - sub.prop(ob, "lock_rotation_w", text="", emboss=False) - sub.prop(ob, "lock_rotation", text="", emboss=False) + sub.prop(ob, "lock_rotation_w", text="", emboss=False, icon='DECORATE_UNLOCKED') + sub.prop(ob, "lock_rotation", text="", emboss=False, icon='DECORATE_UNLOCKED') elif ob.rotation_mode == 'AXIS_ANGLE': # row.column().label(text="Rotation") #row.column().prop(pchan, "rotation_angle", text="Angle") @@ -78,20 +78,20 @@ class OBJECT_PT_transform(ObjectButtonsPanel, Panel): sub = row.column(align=True) sub.use_property_decorate = False - sub.prop(ob, "lock_rotation_w", text="", emboss=False) - sub.prop(ob, "lock_rotation", text="", emboss=False) + sub.prop(ob, "lock_rotation_w", text="", emboss=False, icon='DECORATE_UNLOCKED') + sub.prop(ob, "lock_rotation", text="", emboss=False, icon='DECORATE_UNLOCKED') else: col = flow.column() row = col.row(align=True) row.prop(ob, "rotation_euler", text="Rotation") row.use_property_decorate = False - row.prop(ob, "lock_rotation", text="", emboss=False) + row.prop(ob, "lock_rotation", text="", emboss=False, icon='DECORATE_UNLOCKED') col = flow.column() row = col.row(align=True) row.prop(ob, "scale") row.use_property_decorate = False - row.prop(ob, "lock_scale", text="", emboss=False) + row.prop(ob, "lock_scale", text="", emboss=False, icon='DECORATE_UNLOCKED') row = layout.row(align=True) row.prop(ob, "rotation_mode") |