diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-14 07:52:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-14 07:52:07 +0300 |
commit | 0cd9b1243cd8d06a68cce7419047fec6b18cfc09 (patch) | |
tree | 46fa0dd0906f4d6a22cf46a4289f32049d76bccd /source/blender/editors/space_image | |
parent | 95a47ff2269fc97d60cf83a44726d1f49027a882 (diff) |
Fix sculpt/paint missing undo-step limiting
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/image_undo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/image_undo.c b/source/blender/editors/space_image/image_undo.c index cebf47a385d..eb1c46240cb 100644 --- a/source/blender/editors/space_image/image_undo.c +++ b/source/blender/editors/space_image/image_undo.c @@ -1083,6 +1083,7 @@ void ED_image_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(); } |