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>2006-12-18 11:39:11 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2006-12-18 11:39:11 +0300
commit019b13b83081a8df6ff2e06f0e25e3f59e5c88c6 (patch)
tree4bb16258db54f4ddd8b642bba74f7dbbd22757f3 /source/blender/include/BDR_sculptmode.h
parent0e6518731f867be7322579ec7dd170f4d9a685d8 (diff)
Added support for undoing multires actions in sculptmode.
Diffstat (limited to 'source/blender/include/BDR_sculptmode.h')
-rw-r--r--source/blender/include/BDR_sculptmode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/include/BDR_sculptmode.h b/source/blender/include/BDR_sculptmode.h
index 77c065ce3a4..a82d43f8342 100644
--- a/source/blender/include/BDR_sculptmode.h
+++ b/source/blender/include/BDR_sculptmode.h
@@ -56,12 +56,14 @@ typedef struct PropsetData {
/* Memory */
void sculptmode_init(struct Scene *);
void sculptmode_free_all(struct Scene *);
+void sculptmode_correct_state();
/* Undo */
typedef enum SculptUndoType {
SUNDO_VERT= 1, /* Vertex locations modified */
SUNDO_TOPO= 2, /* Any face/edge change, different # of verts, etc. */
- SUNDO_PVIS= 4 /* Mesh.pv changed */
+ SUNDO_PVIS= 4, /* Mesh.pv changed */
+ SUNDO_MRES= 8 /* Mesh.mr changed */
} SculptUndoType;
void sculptmode_undo_push(char *str, SculptUndoType type);
void sculptmode_undo();