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:
Diffstat (limited to 'source/blender/blenkernel/BKE_undo_system.h')
-rw-r--r--source/blender/blenkernel/BKE_undo_system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_undo_system.h b/source/blender/blenkernel/BKE_undo_system.h
index dc8cabc52c7..2863642a3e0 100644
--- a/source/blender/blenkernel/BKE_undo_system.h
+++ b/source/blender/blenkernel/BKE_undo_system.h
@@ -73,6 +73,8 @@ typedef struct UndoStep {
size_t data_size;
/** Users should never see this step (only use for internal consistency). */
bool skip;
+ /** Some situations require the global state to be stored, edge cases when exiting modes. */
+ bool use_memfile_step;
/* Over alloc 'type->struct_size'. */
} UndoStep;