[Bf-blender-cvs] [96f8124] master: Fix for missing visits of ID's within SceneRenderLayer in BKE_library_foreach_ID_link().
Tamito Kajiyama
noreply at git.blender.org
Fri Jun 6 05:51:51 CEST 2014
Commit: 96f81242bdbd24bdf1bbb6e2a5bc0de91339df5e
Author: Tamito Kajiyama
Date: Fri Jun 6 12:51:14 2014 +0900
https://developer.blender.org/rB96f81242bdbd24bdf1bbb6e2a5bc0de91339df5e
Fix for missing visits of ID's within SceneRenderLayer in BKE_library_foreach_ID_link().
Just noticed them while working on the previous commit (rB00f722042c07).
===================================================================
M source/blender/blenkernel/intern/library_query.c
===================================================================
diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c
index 178209f..4d1c866 100644
--- a/source/blender/blenkernel/intern/library_query.c
+++ b/source/blender/blenkernel/intern/library_query.c
@@ -184,6 +184,12 @@ void BKE_library_foreach_ID_link(ID *id, LibraryIDLinkCallback callback, void *u
FreestyleModuleConfig *fmc;
FreestyleLineSet *fls;
+ if (srl->mat_override) {
+ CALLBACK_INVOKE(srl->mat_override, IDWALK_NOP);
+ }
+ if (srl->light_override) {
+ CALLBACK_INVOKE(srl->light_override, IDWALK_NOP);
+ }
for (fmc = srl->freestyleConfig.modules.first; fmc; fmc = fmc->next) {
if (fmc->script) {
CALLBACK_INVOKE(fmc->script, IDWALK_NOP);
More information about the Bf-blender-cvs
mailing list