[Bf-blender-cvs] [38c8378f529] master: Cleanup: libquery: add explicit comment that we ignore `ID.lib` pointer there.
Bastien Montagne
noreply at git.blender.org
Fri Feb 14 12:18:28 CET 2020
Commit: 38c8378f529d08c9da587055a3b6173439d08bde
Author: Bastien Montagne
Date: Fri Feb 14 11:09:40 2020 +0100
Branches: master
https://developer.blender.org/rB38c8378f529d08c9da587055a3b6173439d08bde
Cleanup: libquery: add explicit comment that we ignore `ID.lib` pointer there.
===================================================================
M source/blender/blenkernel/intern/lib_query.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list