diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-12 15:32:13 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-20 13:26:21 +0300 |
commit | 41ed782350c82b67fab9434d7e34d0d178dee13a (patch) | |
tree | 353a2de2467309b47ad698f97c7f1d84c47eeb3e /intern/cycles/render/buffers.cpp | |
parent | 3cb13988991cd1de4a19c21a5b5497b6996970f1 (diff) |
Cycles: Fix wrong scaling of traversed instances debug pass
Diffstat (limited to 'intern/cycles/render/buffers.cpp')
-rw-r--r-- | intern/cycles/render/buffers.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/buffers.cpp b/intern/cycles/render/buffers.cpp index 5030de69174..6aca6ffa3ca 100644 --- a/intern/cycles/render/buffers.cpp +++ b/intern/cycles/render/buffers.cpp @@ -186,6 +186,7 @@ bool RenderBuffers::get_pass_rect(PassType type, float exposure, int sample, int } #ifdef WITH_CYCLES_DEBUG else if(type == PASS_BVH_TRAVERSAL_STEPS || + type == PASS_BVH_TRAVERSED_INSTANCES || type == PASS_RAY_BOUNCES) { for(int i = 0; i < size; i++, in += pass_stride, pixels++) { |