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).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user