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>2016-07-07 20:39:14 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-07-07 22:21:33 +0300
commit25e36579709e7ed8a7bf047811321c3dba174489 (patch)
treea2763c6944a32da57c0b1f7cc97d3bc6d9e72219 /source/blender/blenkernel/BKE_library_query.h
parentf36741c2eb2a0dc8fe12d71691fee91adefcf9d5 (diff)
Extend libquery checks to test wether an ID is used locally and/or indirectly.
Diffstat (limited to 'source/blender/blenkernel/BKE_library_query.h')
-rw-r--r--source/blender/blenkernel/BKE_library_query.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_library_query.h b/source/blender/blenkernel/BKE_library_query.h
index 3a2b49f911c..77a3b31f805 100644
--- a/source/blender/blenkernel/BKE_library_query.h
+++ b/source/blender/blenkernel/BKE_library_query.h
@@ -76,6 +76,8 @@ void BKE_library_update_ID_link_user(struct ID *id_dst, struct ID *id_src, const
int BKE_library_ID_use_ID(struct ID *id_user, struct ID *id_used);
+bool BKE_library_ID_is_locally_used(struct Main *bmain, void *idv);
bool BKE_library_ID_is_indirectly_used(struct Main *bmain, void *idv);
+void BKE_library_ID_test_usages(struct Main *bmain, void *idv, bool *is_used_local, bool *is_used_linked);
#endif /* __BKE_LIBRARY_QUERY_H__ */