From e535ff44ffd686def7aafec401acec657f5a614c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 5 Feb 2019 14:24:11 +1100 Subject: Undo System: remove accumulate/store modes This complicated handling of undo steps in a generic way especially switching between undo systems that stored data to ones that accumulated changes. Now each undo system must treat it's steps as check-point, internally it can apply/rewind changes. This commit also fixes projection paint where the object mode wasn't following the undo steps. --- source/blender/editors/curve/editfont_undo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/editors/curve/editfont_undo.c') diff --git a/source/blender/editors/curve/editfont_undo.c b/source/blender/editors/curve/editfont_undo.c index d0d00150447..02539dd4dbe 100644 --- a/source/blender/editors/curve/editfont_undo.c +++ b/source/blender/editors/curve/editfont_undo.c @@ -383,7 +383,6 @@ void ED_font_undosys_type(UndoType *ut) ut->step_foreach_ID_ref = font_undosys_foreach_ID_ref; - ut->mode = BKE_UNDOTYPE_MODE_STORE; ut->use_context = true; ut->step_size = sizeof(FontUndoStep); -- cgit v1.2.3