[Bf-blender-cvs] [17cf5001016] master: Cycles: Fixed Cycles standalone build.
Stefan Werner
noreply at git.blender.org
Tue Sep 1 14:14:32 CEST 2020
Commit: 17cf5001016d3c37df33a13da7c34c417c1f0cc0
Author: Stefan Werner
Date: Tue Sep 1 14:13:17 2020 +0200
Branches: master
https://developer.blender.org/rB17cf5001016d3c37df33a13da7c34c417c1f0cc0
Cycles: Fixed Cycles standalone build.
The node refactor in 429afe0c626a was missing in the standalone code.
===================================================================
M intern/cycles/app/cycles_xml.cpp
===================================================================
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());
More information about the Bf-blender-cvs
mailing list