Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2018-06-08 17:12:25 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-06-08 17:13:49 +0300
commitcbbf8bbbb4fac21d5148201d45053e4f85ed778f (patch)
tree534b9db9a2aab00e01753a85390919c2cff35749 /release
parentfc85096dc8e12e3c83621d153e13cab7bdf1860d (diff)
Workbench: XFlip Matcap per 3D View
Note: Icons are not yet updated.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 6c16b14886a..3a8fb3ce2f0 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3520,14 +3520,16 @@ class VIEW3D_PT_shading(Panel):
if shading.light == 'STUDIO':
row = col.row()
row.template_icon_view(shading, "studio_light")
- op = row.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='ZOOMIN')
+ row.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='ZOOMIN')
if shading.studio_light_orientation == 'WORLD':
col.row().prop(shading, "studiolight_rot_z")
elif shading.light == 'MATCAP':
row = col.row()
row.template_icon_view(shading, "matcap")
- op = row.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='ZOOMIN')
+ 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')
if shading.type == 'SOLID':
col.separator()