From 628908a710a2f7a4b4900bc93b0b3c445a4ed0ad Mon Sep 17 00:00:00 2001 From: Antonioya Date: Sat, 3 Nov 2018 08:46:21 +0100 Subject: GP: New main switches to hide stroke and fill material New parameters to switch visibility of stroke and fill --- source/blender/makesdna/DNA_material_types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_material_types.h') diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 9d4da91aaed..85dfe300429 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -98,7 +98,11 @@ typedef enum eMaterialGPencilStyle_Flag { /* Flip fill colors */ GP_STYLE_COLOR_FLIP_FILL = (1 << 6), /* Stroke Texture is a pattern */ - GP_STYLE_STROKE_PATTERN = (1 << 7) + GP_STYLE_STROKE_PATTERN = (1 << 7), + /* Stroke show main switch */ + GP_STYLE_STROKE_SHOW = (1 << 8), + /* Fill show main switch */ + GP_STYLE_FILL_SHOW = (1 << 9) } eMaterialGPencilStyle_Flag; typedef enum eMaterialGPencilStyle_Mode { -- cgit v1.2.3