Fix Cycles broken motion blur pass after recent bugfix

This commit is contained in:
Brecht Van Lommel 2021-04-12 20:57:18 +02:00
parent 1c357a3c5f
commit ec20b21d04
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ vector<Pass> BlenderSync::sync_render_passes(BL::Scene &b_scene,
for (BL::RenderPass &b_pass : b_rlay.passes) {
PassType pass_type = get_pass_type(b_pass);
if (pass_type == PASS_MOTION && !b_scene.render().use_motion_blur())
if (pass_type == PASS_MOTION && b_scene.render().use_motion_blur())
continue;
if (pass_type != PASS_NONE)
Pass::add(pass_type, passes, b_pass.name().c_str());