Cycles: Fix wrong scaling of traversed instances debug pass

This commit is contained in:
Sergey Sharybin 2017-01-12 13:32:13 +01:00
parent 3cb1398899
commit 41ed782350
1 changed files with 1 additions and 0 deletions

View File

@ -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++) {