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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-05-11 00:34:47 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-05-11 00:34:47 +0400
commit41b52062706db3429ae1aa86c00eba8d2e73a14a (patch)
tree8ca34e108bba4e9892580bf166ce5f7d13cae4a0 /source/blender/editors/sculpt_paint/sculpt_intern.h
parentc9c0bfeeb8569c4c8e3d39186a2922de1f7fdc5b (diff)
Add undo/redo support for paint masks.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 8ccf55ec4fb..14fb122578a 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -69,7 +69,8 @@ int sculpt_stroke_get_location(bContext *C, float out[3], float mouse[2]);
typedef enum {
SCULPT_UNDO_COORDS,
- SCULPT_UNDO_HIDDEN
+ SCULPT_UNDO_HIDDEN,
+ SCULPT_UNDO_MASK
} SculptUndoType;
typedef struct SculptUndoNode {
@@ -83,6 +84,7 @@ typedef struct SculptUndoNode {
float (*co)[3];
float (*orig_co)[3];
short (*no)[3];
+ float *mask;
int totvert;
/* non-multires */