[Bf-blender-cvs] [d9083212d6d] blender2.8: GP: Replace hide icon in materials

Antonioya noreply at git.blender.org
Fri Sep 7 15:53:11 CEST 2018


Commit: d9083212d6d3ef58b746711184b2467a2a323499
Author: Antonioya
Date:   Fri Sep 7 15:53:01 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBd9083212d6d3ef58b746711184b2467a2a323499

GP: Replace hide icon in materials

Now the layers and materials icons are consistent.

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

M	source/blender/makesrna/intern/rna_material.c

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

diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c
index f99636de991..75064ce1855 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -528,7 +528,7 @@ static void rna_def_material_greasepencil(BlenderRNA *brna)
 	/* Flags */
 	prop = RNA_def_property(srna, "hide", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_STYLE_COLOR_HIDE);
-	RNA_def_property_ui_icon(prop, ICON_RESTRICT_VIEW_OFF, 1);
+	RNA_def_property_ui_icon(prop, ICON_HIDE_OFF, 1);
 	RNA_def_property_ui_text(prop, "Hide", "Set color Visibility");
 	RNA_def_property_update(prop, NC_GPENCIL | ND_SHADING, "rna_MaterialGpencil_nopreview_update");



More information about the Bf-blender-cvs mailing list