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:
authorThomas Dinges <blender@dingto.org>2014-01-21 23:56:29 +0400
committerThomas Dinges <blender@dingto.org>2014-01-21 23:56:56 +0400
commitae3f577ac18acf22ee2dafd939b6e121fd220c1f (patch)
tree1fa902acb0f42a02528418cefeb2aea8ec16d930 /intern/cycles/app/cycles_xml.cpp
parentaeca473a4177e52c6d258f3307627169ef237170 (diff)
Cycles Standalone: Volume integrator settings.
Diffstat (limited to 'intern/cycles/app/cycles_xml.cpp')
-rw-r--r--intern/cycles/app/cycles_xml.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index 8994afc24e8..e6e047a5642 100644
--- a/intern/cycles/app/cycles_xml.cpp
+++ b/intern/cycles/app/cycles_xml.cpp
@@ -283,6 +283,10 @@ static void xml_read_integrator(const XMLReadState& state, pugi::xml_node node)
xml_read_int(&integrator->transparent_max_bounce, node, "transparent_max_bounce");
xml_read_bool(&integrator->transparent_shadows, node, "transparent_shadows");
+ /* Volume */
+ xml_read_float(&integrator->volume_step_size, node, "volume_step_size");
+ xml_read_int(&integrator->volume_max_steps, node, "volume_max_steps");
+
/* Various Settings */
xml_read_bool(&integrator->no_caustics, node, "no_caustics");
xml_read_float(&integrator->filter_glossy, node, "filter_glossy");