From 17cf5001016d3c37df33a13da7c34c417c1f0cc0 Mon Sep 17 00:00:00 2001 From: Stefan Werner Date: Tue, 1 Sep 2020 14:13:17 +0200 Subject: Cycles: Fixed Cycles standalone build. The node refactor in 429afe0c626a was missing in the standalone code. --- intern/cycles/app/cycles_xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/app') diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index aec00f845f3..a86e06f92d1 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -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()); -- cgit v1.2.3