Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-03-28 23:48:07 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-03-30 21:09:20 +0300
commitf4982b555c340348a50ee80df0a4bf11074d3b1d (patch)
tree0a316e8dd27a69aec596bd6fbc5524f8e42cbf34 /source/blender/blenloader/BLO_undofile.h
parent2e60226f23b684bff6cd3c2e78e683b911656002 (diff)
Fix undo misdetecting identical future chunk in some cases
Clear is_identical_future before adding a next undo step, to avoid wrong values for cases where we undo and then add a step with different changes than what was previously the next step. Ref D7274
Diffstat (limited to 'source/blender/blenloader/BLO_undofile.h')
-rw-r--r--source/blender/blenloader/BLO_undofile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h
index 5f1142cc20e..f280b8f3b9c 100644
--- a/source/blender/blenloader/BLO_undofile.h
+++ b/source/blender/blenloader/BLO_undofile.h
@@ -60,6 +60,7 @@ extern void memfile_chunk_add(MemFile *memfile,
/* exports */
extern void BLO_memfile_free(MemFile *memfile);
extern void BLO_memfile_merge(MemFile *first, MemFile *second);
+extern void BLO_memfile_clear_future(MemFile *memfile);
/* utilities */
extern struct Main *BLO_memfile_main_get(struct MemFile *memfile,