Cycles: Remove more duplicated code in debug passes logic

This commit is contained in:
Sergey Sharybin 2017-01-12 13:33:53 +01:00
parent 789fdab825
commit 8daf02f134
1 changed files with 0 additions and 6 deletions

View File

@ -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;