Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-01-04 17:46:29 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2011-01-04 17:46:29 +0300
commitdf29715498a2e601f1c57ff68b168e5984ef6491 (patch)
treeae805a7abcffd1bddbe4542146c3bdcfff7f4318 /source/blender/makesdna/DNA_brush_types.h
parent8b1bfbcfea8af306dbf42743b5f67d46159015c5 (diff)
Fix #25483: Brush appearance color
Set special brush flag when inversion stroke was started, not wery nice, but we can't make better with current events system implementation.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 8fca829101b..37c6200b91f 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -130,6 +130,10 @@ typedef struct Brush {
#define BRUSH_FRONTFACE (1<<27)
#define BRUSH_CUSTOM_ICON (1<<28)
+/* temporary flag which sets up autmatically for correct
+ brush drawing when inverted modal operator is running */
+#define BRUSH_INVERTED (1<<29)
+
/* Brush.sculpt_tool */
#define SCULPT_TOOL_DRAW 1
#define SCULPT_TOOL_SMOOTH 2