diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-31 16:44:15 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-31 16:44:15 +0300 |
commit | 9c328502bb37ab082e4205be4b61fe9d4a43aa1b (patch) | |
tree | 97e043d8acee8c538cfc5634253568c792059746 /source/blender/makesrna/intern/rna_material.c | |
parent | 494fbfc045d74ed66c85b698d3f243125988708a (diff) |
GP: Fix icons
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index 23af4ba1126..a842513cd00 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -560,7 +560,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_RESTRICT_VIEW_ON, -1); RNA_def_property_ui_text(prop, "Hide", "Set color Visibility"); RNA_def_property_update(prop, NC_GPENCIL | ND_SHADING, "rna_MaterialGpencil_nopreview_update"); |