From fbed69866ea574dcf3a304ca2ca5b223f997b13f Mon Sep 17 00:00:00 2001 From: Antonioya Date: Sun, 16 Dec 2018 18:24:52 +0100 Subject: GP: Add option to occlude eraser This adds the functionality requested in T59417 adding a new button near of pressure button of the brush to enable/disable occlude effect for eraser. --- source/blender/makesdna/DNA_brush_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/DNA_brush_types.h') diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index d51c94fb536..398c79e0111 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -123,6 +123,8 @@ typedef enum eGPDbrush_Flag { GP_BRUSH_MATERIAL_PINNED = (1 << 13), /* Do not show fill color while drawing (no lasso mode) */ GP_BRUSH_DISSABLE_LASSO = (1 << 14), + /* Do not erase strokes oLcluded */ + GP_BRUSH_OCCLUDE_ERASER = (1 << 15), } eGPDbrush_Flag; /* BrushGpencilSettings->gp_fill_draw_mode */ -- cgit v1.2.3