From 51010f50351a5115122dc64e02a5a9b2c76c4edb Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Tue, 23 Apr 2013 00:32:51 +0000 Subject: Allow hiding separate hiding of overlays on stroke. --- source/blender/makesdna/DNA_brush_types.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (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 c37758fb940..824091dab32 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -158,9 +158,15 @@ typedef enum OverlayFlags { BRUSH_OVERLAY_CURSOR = (1), BRUSH_OVERLAY_PRIMARY = (1 << 1), BRUSH_OVERLAY_SECONDARY = (1 << 2), - BRUSH_OVERLAY_OVERRIDE_ON_STROKE = (1 << 3) + BRUSH_OVERLAY_CURSOR_OVERRIDE_ON_STROKE = (1 << 3), + BRUSH_OVERLAY_PRIMARY_OVERRIDE_ON_STROKE = (1 << 4), + BRUSH_OVERLAY_SECONDARY_OVERRIDE_ON_STROKE = (1 << 5) } OverlayFlags; +#define BRUSH_OVERLAY_OVERRIDE_MASK (BRUSH_OVERLAY_CURSOR_OVERRIDE_ON_STROKE | \ + BRUSH_OVERLAY_PRIMARY_OVERRIDE_ON_STROKE | \ + BRUSH_OVERLAY_SECONDARY_OVERRIDE_ON_STROKE) + /* Brush.sculpt_tool */ typedef enum BrushSculptTool { SCULPT_TOOL_DRAW = 1, -- cgit v1.2.3