GP: Replace hide icon in materials
Now the layers and materials icons are consistent.
This commit is contained in:
parent
2f3311ed30
commit
d9083212d6
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue