[Bf-blender-cvs] [150cba73c95] blender2.8: GP: Change menu icons for hide/show

Antonioya noreply at git.blender.org
Wed Sep 26 16:01:08 CEST 2018


Commit: 150cba73c958ec515ccda0905ecc08d1e3b87799
Author: Antonioya
Date:   Wed Sep 26 16:00:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB150cba73c958ec515ccda0905ecc08d1e3b87799

GP: Change menu icons for hide/show

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

M	release/scripts/startup/bl_ui/properties_data_gpencil.py
M	release/scripts/startup/bl_ui/properties_material_gpencil.py

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

diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index 12af20c4a93..3b85a4cebc4 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -77,8 +77,8 @@ class GPENCIL_MT_layer_specials(Menu):
 
         layout.separator()
 
-        layout.operator("gpencil.reveal", icon='RESTRICT_VIEW_OFF', text="Show All")
-        layout.operator("gpencil.hide", icon='RESTRICT_VIEW_ON', text="Hide Others").unselected = True
+        layout.operator("gpencil.reveal", icon='HIDE_OFF', text="Show All")
+        layout.operator("gpencil.hide", icon='HIDE_ON', text="Hide Others").unselected = True
 
         layout.separator()
 
diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py
index 7dc1141b8e3..c9cdd955ec7 100644
--- a/release/scripts/startup/bl_ui/properties_material_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py
@@ -29,8 +29,8 @@ class GPENCIL_MT_color_specials(Menu):
     def draw(self, context):
         layout = self.layout
 
-        layout.operator("gpencil.color_reveal", icon='RESTRICT_VIEW_OFF', text="Show All")
-        layout.operator("gpencil.color_hide", icon='RESTRICT_VIEW_ON', text="Hide Others").unselected = True
+        layout.operator("gpencil.color_reveal", icon='HIDE_OFF', text="Show All")
+        layout.operator("gpencil.color_hide", icon='HIDE_ON', text="Hide Others").unselected = True
 
         layout.separator()



More information about the Bf-blender-cvs mailing list