Cycles: Fix wrong scaling of traversed instances debug pass
This commit is contained in:
parent
3cb1398899
commit
41ed782350
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue