Fix #108719: correct link is shown as invalid

The issue was that the links was tagged as invalid for one render engine,
because it does not support the output pass. However, switching back
to Cycles did not make the link valid again.
This commit is contained in:
Jacques Lucke
2024-12-09 14:05:07 +01:00
parent 4a0be9ed1a
commit b6e1afb6e1

View File

@@ -201,6 +201,7 @@ void ED_render_engine_changed(Main *bmain, const bool update_scene_data)
ntreeCompositUpdateRLayers(scene->nodetree);
}
}
ED_node_tree_propagate_change(nullptr, bmain, nullptr);
/* Update #CacheFiles to ensure that procedurals are properly taken into account. */
LISTBASE_FOREACH (CacheFile *, cachefile, &bmain->cachefiles) {