Commit: d2a9f5c7e55db7769b64d5dbb9b242f227b8dfe7
Author: Brecht Van Lommel
Date:   Mon Apr 12 20:57:18 2021 +0200
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rBd2a9f5c7e55db7769b64d5dbb9b242f227b8dfe7

Fix Cycles broken motion blur pass after recent bugfix

===================================================================

M       intern/cycles/blender/blender_sync.cpp

===================================================================

diff --git a/intern/cycles/blender/blender_sync.cpp 
b/intern/cycles/blender/blender_sync.cpp
index d585a058073..aa87ac1dd81 100644
--- a/intern/cycles/blender/blender_sync.cpp
+++ b/intern/cycles/blender/blender_sync.cpp
@@ -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());

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to