diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-14 08:26:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-14 08:26:30 +0300 |
commit | 0892ce85b21342a32322aca4a88caa67720c675d (patch) | |
tree | 6f36bcbf90238adbb3bf1bc75f8c833c89d64853 /source/blender/editors/undo/ed_undo.c | |
parent | cdc7a93c3677ec166f4b375bc839feb415c3abdc (diff) | |
parent | 0cd9b1243cd8d06a68cce7419047fec6b18cfc09 (diff) |
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender/editors/undo/ed_undo.c')
-rw-r--r-- | source/blender/editors/undo/ed_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/undo/ed_undo.c b/source/blender/editors/undo/ed_undo.c index 69e7c04b5e5..f7300221028 100644 --- a/source/blender/editors/undo/ed_undo.c +++ b/source/blender/editors/undo/ed_undo.c @@ -97,7 +97,7 @@ void ED_undo_push(bContext *C, const char *str) if (U.undomemory != 0) { const size_t memory_limit = (size_t)U.undomemory * 1024 * 1024; - BKE_undosys_stack_limit_steps_and_memory(wm->undo_stack, 0, memory_limit); + BKE_undosys_stack_limit_steps_and_memory(wm->undo_stack, -1, memory_limit); } if (CLOG_CHECK(&LOG, 1)) { |