diff options
author | Julian Eisel <julian@blender.org> | 2020-03-17 22:20:22 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-17 22:20:22 +0300 |
commit | a640587e25e43be8007fa0090a59fd9bb6d51e39 (patch) | |
tree | ef780ec436232535a9e36ac233de1792ee8ba9e4 /source/blender/blenloader/BLO_undofile.h | |
parent | 99eb95337f74f1a303c774902ea29f7d378bac1b (diff) | |
parent | 892637f60afbbb787334caa26f5342baf1d4a7d7 (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.h | 4 |
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 { |