diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-11 13:41:35 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-11 13:48:01 +0300 |
commit | 0ec2e7ad53422746e6e39f15d72c0febb77ec630 (patch) | |
tree | c3d50d2168b0afc1c25e1500215ac967b297fb3f /release | |
parent | a67cc72232ae71f7c58e5aa88fc919f53fa72433 (diff) |
Shading: Change icon of userpreference in Shading popover
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index c4acfebad9b..899529476a8 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3520,7 +3520,8 @@ class VIEW3D_PT_shading(Panel): if shading.light == 'STUDIO': row = col.row() row.template_icon_view(shading, "studio_light") - row.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='ZOOMIN') + sub = row.column() + sub.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES') if shading.studio_light_orientation == 'WORLD': col.row().prop(shading, "studiolight_rot_z") @@ -3529,7 +3530,7 @@ class VIEW3D_PT_shading(Panel): row.template_icon_view(shading, "matcap") sub = row.column() sub.operator('VIEW3D_OT_toggle_matcap_flip', emboss=False, text="", icon='ARROW_LEFTRIGHT') - sub.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='ZOOMIN') + sub.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES') if shading.type == 'SOLID': col.separator() @@ -3579,7 +3580,8 @@ class VIEW3D_PT_shading(Panel): elif shading.type in ('MATERIAL'): row = col.row() row.template_icon_view(shading, "studio_light") - op = row.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='ZOOMIN') + sub = row.column() + sub.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES') if shading.studio_light_orientation == 'WORLD': col.row().prop(shading, "studiolight_rot_z") col.row().prop(shading, "studiolight_background") |