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-12 15:32:13 +0300 |
commit | 789fdab825642d78aaa1fa7dde399bbc0c5b96ac (patch) | |
tree | 4deb317b4b44c08f1b4efbae82f1e142bc5f054b /intern/cycles/render/buffers.cpp | |
parent | 618b3480c84500bc3a6bda2320c206000a80556e (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++) { |