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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-11-11 13:44:46 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-11-11 13:44:46 +0300
commit2e3326c1533e992ef7eaa43ed876375af4db5de1 (patch)
treefe0adcbf314053bd3c079abd4692dea851231aac /source/blender/editors/util
parent7fe52eedba00a3008d56ad0d689ed27fcf658220 (diff)
parente4f10565ea6b4a9015bd5a9e81b77d1d549e9b46 (diff)
Sculpt: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24330:24483
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/editmode_undo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/util/editmode_undo.c b/source/blender/editors/util/editmode_undo.c
index 2d73a9f1d25..5fb93b0f8ec 100644
--- a/source/blender/editors/util/editmode_undo.c
+++ b/source/blender/editors/util/editmode_undo.c
@@ -240,6 +240,7 @@ static void undo_clean_stack(bContext *C)
/* 1= an undo, -1 is a redo. we have to make sure 'curundo' remains at current situation */
void undo_editmode_step(bContext *C, int step)
{
+ Object *obedit= CTX_data_edit_object(C);
/* prevent undo to happen on wrong object, stack can be a mix */
undo_clean_stack(C);
@@ -266,8 +267,9 @@ void undo_editmode_step(bContext *C, int step)
if(G.f & G_DEBUG) printf("redo %s\n", curundo->name);
}
}
+
+ DAG_id_flush_update(&obedit->id, OB_RECALC_DATA);
-// DAG_id_flush_update(&obedit->id, OB_RECALC_DATA);
/* XXX notifiers */
}