From f0675b14d84392e65c9e746752defa707335626c Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Mon, 9 Dec 2013 22:36:33 +0200 Subject: Refactoring/cleanup, borrowed from soc-2013-paint branch. * Move symmetry options to the paint struct (where all paint systems can make use of it) * Rename draw_pressure to stroke_active. This is what is really checked on those occasions that this is used. Also move turning on/off of this option to the stroke level and avoid doing it on every stroke system. * Rename BRUSH_RESTORE_MESH to BRUSH_DRAG_DOT. In image painting this won't restore any mesh, so better have a name that is directly linked to what the flag actually does. --- source/blender/makesdna/DNA_brush_types.h | 2 +- 1 file changed, 1 insertion(+), 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 824091dab32..86fa7058f97 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -140,7 +140,7 @@ typedef enum BrushFlags { BRUSH_LOCK_SIZE = (1 << 20), // BRUSH_TEXTURE_OVERLAY = (1 << 21), /* obsolete, use overlay_flags |= BRUSH_OVERLAY_PRIMARY instead */ BRUSH_EDGE_TO_EDGE = (1 << 22), - BRUSH_RESTORE_MESH = (1 << 23), + BRUSH_DRAG_DOT = (1 << 23), BRUSH_INVERSE_SMOOTH_PRESSURE = (1 << 24), BRUSH_RANDOM_ROTATION = (1 << 25), BRUSH_PLANE_TRIM = (1 << 26), -- cgit v1.2.3