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:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-30 15:50:44 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-30 15:50:44 +0300
commit4473427d8175d68a97e8b803266b3751175f183f (patch)
tree53ff2eb0204e016253f53ed132274c068056f1e6
parentbfaf41663abd929b3756f81f7cbbcb57419d21fd (diff)
UI: Hide labels from MatCaps
They were added as placeholder to show something until they lazy-load. But since the load is fast and it's hard to fit the text, and their name is displayed already in the tooltip, we can do without for now. In the future when we have insta-tooltips we should make them use this.
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index e6d8b1ec2a7..8f77305994a 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3784,7 +3784,7 @@ class VIEW3D_PT_shading_lighting(Panel):
sub.scale_y = 0.6 # smaller matcap/hdri preview
if shading.light == 'STUDIO':
- sub.template_icon_view(shading, "studio_light", show_labels=True, scale=3)
+ sub.template_icon_view(shading, "studio_light", scale=3)
if shading.selected_studio_light.orientation == 'WORLD':
col.prop(shading, "studiolight_rotate_z", text="Rotation")
@@ -3793,7 +3793,7 @@ class VIEW3D_PT_shading_lighting(Panel):
col.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES')
elif shading.light == 'MATCAP':
- sub.template_icon_view(shading, "studio_light", show_labels=True, scale=3)
+ sub.template_icon_view(shading, "studio_light", scale=3)
col = split.column()
col.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES')
@@ -3810,7 +3810,7 @@ class VIEW3D_PT_shading_lighting(Panel):
col = split.column()
sub = col.row()
sub.scale_y = 0.6
- sub.template_icon_view(shading, "studio_light", show_labels=True, scale=3)
+ sub.template_icon_view(shading, "studio_light", scale=3)
col = split.column()
col.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES')