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:
authorJulian Eisel <julian@blender.org>2020-03-17 22:20:22 +0300
committerJulian Eisel <julian@blender.org>2020-03-17 22:20:22 +0300
commita640587e25e43be8007fa0090a59fd9bb6d51e39 (patch)
treeef780ec436232535a9e36ac233de1792ee8ba9e4 /source/blender/blenloader/BLO_undofile.h
parent99eb95337f74f1a303c774902ea29f7d378bac1b (diff)
parent892637f60afbbb787334caa26f5342baf1d4a7d7 (diff)
Merge branch 'temp-openxr-blenderside' into soc-2019-openxrsoc-2019-openxr
Diffstat (limited to 'source/blender/blenloader/BLO_undofile.h')
-rw-r--r--source/blender/blenloader/BLO_undofile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h
index 0388b3f3520..5f1142cc20e 100644
--- a/source/blender/blenloader/BLO_undofile.h
+++ b/source/blender/blenloader/BLO_undofile.h
@@ -34,6 +34,10 @@ typedef struct {
unsigned int size;
/** When true, this chunk doesn't own the memory, it's shared with a previous #MemFileChunk */
bool is_identical;
+ /** When true, this chunk is also identical to the one in the next step (used by undo code to
+ * detect unchanged IDs).
+ * Defined when writing the next step (i.e. last undo step has those always false). */
+ bool is_identical_future;
} MemFileChunk;
typedef struct MemFile {