Commit: ce25b5812b4ad2f9c6d29bf254374235bc7100f7
Author: Brecht Van Lommel
Date: Mon Jun 28 13:56:52 2021 +0200
Branches: master
https://developer.blender.org/rBce25b5812b4ad2f9c6d29bf254374235bc7100f7
Fix Cycles not rendering motion vector passes after recent changes
Causing regression tests to fail.
===================================================================
M intern/cycles/blender/blender_sync.cpp
===================================================================
diff --git a/intern/cycles/blender/blender_sync.cpp
b/intern/cycles/blender/blender_sync.cpp
index b77051b2419..3b3a193b3e8 100644
--- a/intern/cycles/blender/blender_sync.cpp
+++ b/intern/cycles/blender/blender_sync.cpp
@@ -603,8 +603,10 @@ 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 && view_layer.use_motion_blur)
+ if (pass_type == PASS_MOTION &&
+ (b_view_layer.use_motion_blur() &&
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
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs