Cycles: Fixed Cycles standalone build.

The node refactor in 429afe0c62 was missing in the standalone code.
This commit is contained in:
Stefan Werner 2020-09-01 14:13:17 +02:00
parent 07899ddd22
commit 17cf500101
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ static void xml_read_shader_graph(XMLReadState &state, Shader *shader, xml_node
filepath = path_join(state.base, filepath);
}
snode = OSLShaderManager::osl_node(manager, filepath);
snode = OSLShaderManager::osl_node(graph, manager, filepath, "");
if (!snode) {
fprintf(stderr, "Failed to create OSL node from \"%s\".\n", filepath.c_str());