diff options
author | Thomas Dinges <blender@dingto.org> | 2014-09-04 03:00:40 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-09-04 03:00:40 +0400 |
commit | c670ceb5626cd67cca00f67b520b2971eda17ac1 (patch) | |
tree | 0c140ee8640cba6bb8fd541e0ccfda2200a7c6c3 /intern/cycles/render | |
parent | f7062ff3ed55faa6c40c1de19113746b221a7a8f (diff) |
Cleanup: Code deduplication for similar passes.
Diffstat (limited to 'intern/cycles/render')
-rw-r--r-- | intern/cycles/render/film.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/intern/cycles/render/film.cpp b/intern/cycles/render/film.cpp index c1aefbcfbbc..09973e8bc86 100644 --- a/intern/cycles/render/film.cpp +++ b/intern/cycles/render/film.cpp @@ -80,22 +80,13 @@ void Pass::add(PassType type, vector<Pass>& passes) pass.components = 1; break; case PASS_OBJECT_ID: - pass.components = 1; - pass.filter = false; - break; case PASS_MATERIAL_ID: pass.components = 1; pass.filter = false; break; case PASS_DIFFUSE_COLOR: - pass.components = 4; - break; case PASS_GLOSSY_COLOR: - pass.components = 4; - break; case PASS_TRANSMISSION_COLOR: - pass.components = 4; - break; case PASS_SUBSURFACE_COLOR: pass.components = 4; break; @@ -141,9 +132,6 @@ void Pass::add(PassType type, vector<Pass>& passes) break; case PASS_EMISSION: - pass.components = 4; - pass.exposure = true; - break; case PASS_BACKGROUND: pass.components = 4; pass.exposure = true; |