forked from bartvdbraak/blender
Fix #34184: cycles speed vector pass should be zero when using motion blur,
instead it had value 10000.
This commit is contained in:
parent
942ad6d9cd
commit
8d4d27de9f
@ -410,7 +410,9 @@ void BlenderSession::do_write_update_render_result(BL::RenderResult b_rr, BL::Re
|
||||
int components = b_pass.channels();
|
||||
|
||||
/* copy pixels */
|
||||
if(buffers->get_pass_rect(pass_type, exposure, rtile.sample, components, &pixels[0]))
|
||||
if(!buffers->get_pass_rect(pass_type, exposure, rtile.sample, components, &pixels[0]))
|
||||
memset(&pixels[0], 0, pixels.size()*sizeof(float));
|
||||
|
||||
b_pass.rect(&pixels[0]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user