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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-01-12 15:33:53 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-01-12 15:33:53 +0300
commit8daf02f134692b21e62649acf2906aed344a70ae (patch)
treea74c265b336b73182b8c6cc38f1bf09ebf12152a /intern/cycles/render/film.cpp
parent789fdab825642d78aaa1fa7dde399bbc0c5b96ac (diff)
Cycles: Remove more duplicated code in debug passes logic
Diffstat (limited to 'intern/cycles/render/film.cpp')
-rw-r--r--intern/cycles/render/film.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/intern/cycles/render/film.cpp b/intern/cycles/render/film.cpp
index e10a938e1eb..4cc9cb925c0 100644
--- a/intern/cycles/render/film.cpp
+++ b/intern/cycles/render/film.cpp
@@ -155,13 +155,7 @@ void Pass::add(PassType type, array<Pass>& passes)
break;
#ifdef WITH_CYCLES_DEBUG
case PASS_BVH_TRAVERSAL_STEPS:
- pass.components = 1;
- pass.exposure = false;
- break;
case PASS_BVH_TRAVERSED_INSTANCES:
- pass.components = 1;
- pass.exposure = false;
- break;
case PASS_RAY_BOUNCES:
pass.components = 1;
pass.exposure = false;