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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-06-22 12:37:08 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-06-22 12:37:08 +0300
commit1870a1adc75dece1e9eac3aa632da6e903780c86 (patch)
tree2cf12f98d0540b3901081bbd3184cb4c8b376bbf /source/blender/blenkernel/BKE_library.h
parenta0dce6810d8bafd0205e6847fea3febfc08a7bd7 (diff)
BKE_library: Add func to check an ID is actually in G_MAIN database.
Diffstat (limited to 'source/blender/blenkernel/BKE_library.h')
-rw-r--r--source/blender/blenkernel/BKE_library.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_library.h b/source/blender/blenkernel/BKE_library.h
index 935e90d7ed0..c2b971a91cd 100644
--- a/source/blender/blenkernel/BKE_library.h
+++ b/source/blender/blenkernel/BKE_library.h
@@ -200,6 +200,8 @@ void BKE_library_make_local(
void BKE_id_tag_set_atomic(struct ID *id, int tag);
void BKE_id_tag_clear_atomic(struct ID *id, int tag);
+bool BKE_id_is_in_gobal_main(struct ID *id);
+
/* use when "" is given to new_id() */
#define ID_FALLBACK_NAME N_("Untitled")