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:
authorlazydodo <github@lazydodo.com>2016-12-09 18:28:04 +0300
committerlazydodo <github@lazydodo.com>2016-12-09 18:28:04 +0300
commit5a8b5a0377781b5d03b39543a58175d8f4bc2bab (patch)
tree1a3c7ef2ab0c70de328671eafcfa92a3daced4cf /intern/cycles/render/session.cpp
parent1846a7884974a3cde5ce62ee1faaa8295647398d (diff)
Land D2339 by bliblu bli
Diffstat (limited to 'intern/cycles/render/session.cpp')
-rw-r--r--intern/cycles/render/session.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp
index 8e902243211..33721048722 100644
--- a/intern/cycles/render/session.cpp
+++ b/intern/cycles/render/session.cpp
@@ -636,6 +636,7 @@ DeviceRequestedFeatures Session::get_requested_device_features()
BakeManager *bake_manager = scene->bake_manager;
requested_features.use_baking = bake_manager->get_baking();
requested_features.use_integrator_branched = (scene->integrator->method == Integrator::BRANCHED_PATH);
+ requested_features.use_transparent &= scene->integrator->transparent_shadows;
return requested_features;
}