diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_undo_system.h')
-rw-r--r-- | source/blender/blenkernel/BKE_undo_system.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_undo_system.h b/source/blender/blenkernel/BKE_undo_system.h index a75606a17cb..dc8cabc52c7 100644 --- a/source/blender/blenkernel/BKE_undo_system.h +++ b/source/blender/blenkernel/BKE_undo_system.h @@ -49,6 +49,11 @@ UNDO_REF_ID_TYPE(Text); typedef struct UndoStack { ListBase steps; struct UndoStep *step_active; + /** + * The last memfile state read, used so we can be sure the names from the + * library state matches the state an undo step was written in. + */ + struct UndoStep *step_active_memfile; /** * Some undo systems require begin/end, see: #UndoType.step_encode_init |