diff options
author | Bastien Montagne <bastien@blender.org> | 2020-04-17 16:11:16 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-04-17 16:13:25 +0300 |
commit | c565d0764f75ba5a5bb51d5daa9152897db59eb8 (patch) | |
tree | 4f5f3814c64b93d89db024d01d0b896d3112a214 /source/blender/editors/undo | |
parent | a250be980a13d487099873bb5edf9c797b701ca1 (diff) |
Enable new undo code by default.
Note that given how experimental is working currently, I had to rename
and inverse the effect of the experimental undo flag, which will now
instead activate legacy code when set.
Diffstat (limited to 'source/blender/editors/undo')
-rw-r--r-- | source/blender/editors/undo/memfile_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/undo/memfile_undo.c b/source/blender/editors/undo/memfile_undo.c index 9954cf85157..f22e18de7a1 100644 --- a/source/blender/editors/undo/memfile_undo.c +++ b/source/blender/editors/undo/memfile_undo.c @@ -147,7 +147,7 @@ static void memfile_undosys_step_decode(struct bContext *C, bool use_old_bmain_data = true; - if (!U.experimental.use_undo_speedup) { + if (USER_EXPERIMENTAL_TEST(&U, use_undo_legacy)) { use_old_bmain_data = false; } else if (undo_direction > 0) { |