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
path: root/source
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-06-08 01:02:54 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-06-08 01:02:54 +0400
commiteeea2cec0d2811e4805b7b47f409462f9d7cc509 (patch)
tree204a2a46f7b1271fc666ea16dd0c59b4453e22c0 /source
parent0895747b41b38da407efb480899c9ba86ec6226a (diff)
Multires/2.5:
Bugfix, restoring sculpting from undo data should mark the multires DM as modified.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/modifier.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c
index ec8d28aee6c..e8427a973d0 100644
--- a/source/blender/blenkernel/intern/modifier.c
+++ b/source/blender/blenkernel/intern/modifier.c
@@ -7867,6 +7867,8 @@ static DerivedMesh *multiresModifier_applyModifier(ModifierData *md, Object *ob,
}
CDDM_calc_normals(final);
+ MultiresDM_mark_as_modified(final);
+
MEM_freeN(mmd->undo_verts);
mmd->undo_signal = 0;
mmd->undo_verts = NULL;