diff options
Diffstat (limited to 'intern/cycles/app/cycles_xml.cpp')
-rw-r--r-- | intern/cycles/app/cycles_xml.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index b366e937d94..dd1dae121b1 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -596,8 +596,10 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug xml_read_string(&falloff, node, "falloff"); if(falloff == "cubic") sss->closure = CLOSURE_BSSRDF_CUBIC_ID; - else + else if(falloff == "gaussian") sss->closure = CLOSURE_BSSRDF_GAUSSIAN_ID; + else /*if(falloff == "burley")*/ + sss->closure = CLOSURE_BSSRDF_BURLEY_ID; snode = sss; } |