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>2008-07-27 23:21:10 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2008-07-27 23:21:10 +0400
commit5a3572beecf86bdbdc8fe1589567f5d4d66b095b (patch)
treedd71e5b7d7f855ddb959f541818e58e60d42a9cf /source/blender/makesdna
parent495a8d393745e65d4c0e2e72734871955cb8b20a (diff)
Somewhat hacky support for undo in sculptmode; does a copy of MVert DerivedMesh data when pushing undo, but not for regular save/load.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 752a2360905..83f5637f21e 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -94,6 +94,9 @@ typedef struct Mesh {
short totcol;
short subsurftype; /* only kept for backwards compat, not used anymore */
+ struct MVert *mr_undo; /* Store DerivedMesh vertices for multires undo */
+ int mr_undo_tot, mr_undo_state;
+
struct Multires *mr; /* Multiresolution modeling data */
struct PartialVisibility *pv;
/*ifdef WITH_VERSE*/