Cycles: Fixed Cycles standalone build.
The node refactor in 429afe0c62
was missing in the standalone code.
This commit is contained in:
parent
07899ddd22
commit
17cf500101
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue