[Bf-blender-cvs] [f71da49] master: Fix T41695: No label in UV/Image editor waveform mode

Sergey Sharybin noreply at git.blender.org
Wed Sep 3 08:45:18 CEST 2014


Commit: f71da49bb85a49c6a6a5b9807963ca8db762b7c3
Author: Sergey Sharybin
Date:   Wed Sep 3 12:44:34 2014 +0600
Branches: master
https://developer.blender.org/rBf71da49bb85a49c6a6a5b9807963ca8db762b7c3

Fix T41695: No label in UV/Image editor waveform mode

That's indeed rather creepy to show only icon for the enum where
all the elements have the same exact icon.

===================================================================

M	release/scripts/startup/bl_ui/space_image.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 310bbb3..8fd0ded 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -1070,7 +1070,7 @@ class IMAGE_PT_view_waveform(Panel):
         layout.template_waveform(sima, "scopes")
         row = layout.split(percentage=0.75)
         row.prop(sima.scopes, "waveform_alpha")
-        row.prop(sima.scopes, "waveform_mode", icon_only=True)
+        row.prop(sima.scopes, "waveform_mode", text="")
 
 
 class IMAGE_PT_view_vectorscope(Panel):




More information about the Bf-blender-cvs mailing list