GP: Replace hide icon in materials
authorAntonioya <blendergit@gmail.com>
Fri, 7 Sep 2018 13:53:01 +0000 (15:53 +0200)
committerAntonioya <blendergit@gmail.com>
Fri, 7 Sep 2018 13:53:01 +0000 (15:53 +0200)
Now the layers and materials icons are consistent.

source/blender/makesrna/intern/rna_material.c

index f99636de991257de1939a089845f6f278ff7e46d..75064ce18554c7b64fe21b5a490130e671cdf845 100644 (file)
@@ -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");