[Bf-extensions-cvs] [cc4915de] master: Replace VISIBLE_IPO buttons with HIDE ON/OFF

Campbell Barton noreply at git.blender.org
Sat Jun 22 07:11:52 CEST 2019


Commit: cc4915de42bf633f6461a4d821eeb988f75bdc0a
Author: Campbell Barton
Date:   Sat Jun 22 15:11:13 2019 +1000
Branches: master
https://developer.blender.org/rBACcc4915de42bf633f6461a4d821eeb988f75bdc0a

Replace VISIBLE_IPO buttons with HIDE ON/OFF

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

M	materials_utils/__init__.py

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

diff --git a/materials_utils/__init__.py b/materials_utils/__init__.py
index 70ff4fc9..c0c80dde 100644
--- a/materials_utils/__init__.py
+++ b/materials_utils/__init__.py
@@ -1826,7 +1826,7 @@ class VIEW3D_MT_master_material(Menu):
         layout.operator_context = 'INVOKE_REGION_WIN'
 
         if use_mat_preview() is True:
-            layout.operator("view3d.show_mat_preview", icon="VISIBLE_IPO_ON")
+            layout.operator("view3d.show_mat_preview", icon="HIDE_OFF")
             use_separator(self, context)
 
         if use_mat_menu_type() == 'POPUP':



More information about the Bf-extensions-cvs mailing list