From 96f81242bdbd24bdf1bbb6e2a5bc0de91339df5e Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Fri, 6 Jun 2014 12:51:14 +0900 Subject: 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). --- source/blender/blenkernel/intern/library_query.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '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 178209f52f4..4d1c8660476 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); -- cgit v1.2.3