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:
authorJacques Lucke <jacques@blender.org>2020-08-28 17:29:55 +0300
committerJacques Lucke <jacques@blender.org>2020-08-28 17:29:55 +0300
commit368f8f740409e5c8af40e341597e89e9e861b584 (patch)
tree6f6ca211a69262e921944a451560ed7bc4b39686 /source/blender/blenloader/BLO_read_write.h
parent7b2fe4c9ec683bb7da270a54c44d301016e1470d (diff)
Blenloader: new api function to check if reading is for undo
Diffstat (limited to 'source/blender/blenloader/BLO_read_write.h')
-rw-r--r--source/blender/blenloader/BLO_read_write.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_read_write.h b/source/blender/blenloader/BLO_read_write.h
index 024b6a6c5e4..ff3a82f708a 100644
--- a/source/blender/blenloader/BLO_read_write.h
+++ b/source/blender/blenloader/BLO_read_write.h
@@ -195,6 +195,7 @@ void BLO_read_pointer_array(BlendDataReader *reader, void **ptr_p);
/* Misc. */
bool BLO_read_requires_endian_switch(BlendDataReader *reader);
+bool BLO_read_data_is_undo(BlendDataReader *reader);
/* Blend Read Lib API
* ===================
@@ -208,6 +209,9 @@ ID *BLO_read_get_new_id_address(BlendLibReader *reader, struct Library *lib, str
#define BLO_read_id_address(reader, lib, id_ptr_p) \
*(id_ptr_p) = (void *)BLO_read_get_new_id_address((reader), (lib), (ID *)*(id_ptr_p))
+/* Misc. */
+bool BLO_read_lib_is_undo(BlendLibReader *reader);
+
/* Blend Expand API
* ===================
*