diff options
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r-- | source/blender/editors/curve/editcurve_undo.c | 2 | ||||
-rw-r--r-- | source/blender/editors/curve/editfont_undo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve_undo.c b/source/blender/editors/curve/editcurve_undo.c index 3fd3a348426..534d29c0cc7 100644 --- a/source/blender/editors/curve/editcurve_undo.c +++ b/source/blender/editors/curve/editcurve_undo.c @@ -309,7 +309,7 @@ void ED_curve_undosys_type(UndoType *ut) ut->step_foreach_ID_ref = curve_undosys_foreach_ID_ref; - ut->use_context_for_encode = true; + ut->flags = UNDOTYPE_FLAG_NEED_CONTEXT_FOR_ENCODE; ut->step_size = sizeof(CurveUndoStep); } diff --git a/source/blender/editors/curve/editfont_undo.c b/source/blender/editors/curve/editfont_undo.c index 895db2b4ad1..8559234b62f 100644 --- a/source/blender/editors/curve/editfont_undo.c +++ b/source/blender/editors/curve/editfont_undo.c @@ -398,7 +398,7 @@ void ED_font_undosys_type(UndoType *ut) ut->step_foreach_ID_ref = font_undosys_foreach_ID_ref; - ut->use_context_for_encode = true; + ut->flags = UNDOTYPE_FLAG_NEED_CONTEXT_FOR_ENCODE; ut->step_size = sizeof(FontUndoStep); } |