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 <b.mont29@gmail.com>2020-02-14 13:09:40 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-02-14 14:18:21 +0300
commit38c8378f529d08c9da587055a3b6173439d08bde (patch)
tree3ffd3b787cd354c8bc5ba2994f025c7fe4339ffb /source/blender/blenkernel
parent0c5014aaef854bba096bdaab7d6807fcfd45d7d0 (diff)
Cleanup: libquery: add explicit comment that we ignore `ID.lib` pointer there.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/lib_query.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/lib_query.c b/source/blender/blenkernel/intern/lib_query.c
index 2cd45d1486f..fcbb1458749 100644
--- a/source/blender/blenkernel/intern/lib_query.c
+++ b/source/blender/blenkernel/intern/lib_query.c
@@ -469,6 +469,9 @@ static void library_foreach_ID_link(Main *bmain,
continue;
}
+ /* Note: ID.lib pointer is purposedly fully ignored here...
+ * We may want to add it at some point? */
+
if (id->override_library != NULL) {
CALLBACK_INVOKE_ID(id->override_library->reference,
IDWALK_CB_USER | IDWALK_CB_OVERRIDE_LIBRARY_REFERENCE);