From 0cd9b1243cd8d06a68cce7419047fec6b18cfc09 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 14 May 2020 14:52:07 +1000 Subject: Fix sculpt/paint missing undo-step limiting --- source/blender/editors/sculpt_paint/paint_curve_undo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/sculpt_paint/paint_curve_undo.c') diff --git a/source/blender/editors/sculpt_paint/paint_curve_undo.c b/source/blender/editors/sculpt_paint/paint_curve_undo.c index 5797eb68dd3..a3daef19f11 100644 --- a/source/blender/editors/sculpt_paint/paint_curve_undo.c +++ b/source/blender/editors/sculpt_paint/paint_curve_undo.c @@ -179,6 +179,7 @@ void ED_paintcurve_undo_push_end(void) { UndoStack *ustack = ED_undo_stack_get(); BKE_undosys_step_push(ustack, NULL, NULL); + BKE_undosys_stack_limit_steps_and_memory_defaults(ustack); WM_file_tag_modified(); } -- cgit v1.2.3