Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-03-11 18:51:42 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-03-11 19:05:15 +0300
commit9910803574c4472e348ce140a49fc4fb212f9ee7 (patch)
tree4876c3b81f1bcd83e08f9b7eed4936950b1e4cfc /intern/cycles/app
parent9ef7759bf030344d4d44c0ac75c706ce40b98d04 (diff)
Fix Cycles link error with debug + asan after RTTI changes
Diffstat (limited to 'intern/cycles/app')
-rw-r--r--intern/cycles/app/cycles_xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index 2540786a014..11db5b1a07d 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 *)manager)->osl_node(filepath);
+ snode = OSLShaderManager::osl_node(manager, filepath);
if (!snode) {
fprintf(stderr, "Failed to create OSL node from \"%s\".\n", filepath.c_str());