[Bf-blender-cvs] [637d938c0b8] blender2.8: Fix T56396: Cycles wrong object motion blur with deformation blur disabled.
Brecht Van Lommel
noreply at git.blender.org
Fri Sep 28 18:27:07 CEST 2018
Commit: 637d938c0b8431f3f44ff89ad899b4f1237d167e
Author: Brecht Van Lommel
Date: Fri Sep 28 18:22:35 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB637d938c0b8431f3f44ff89ad899b4f1237d167e
Fix T56396: Cycles wrong object motion blur with deformation blur disabled.
===================================================================
M intern/cycles/blender/blender_object.cpp
===================================================================
diff --git a/intern/cycles/blender/blender_object.cpp b/intern/cycles/blender/blender_object.cpp
index a1f39d0848f..408a92f1f3a 100644
--- a/intern/cycles/blender/blender_object.cpp
+++ b/intern/cycles/blender/blender_object.cpp
@@ -444,8 +444,8 @@ Object *BlenderSync::sync_object(BL::Depsgraph& b_depsgraph,
if(scene->need_motion() == Scene::MOTION_BLUR) {
motion_steps = object_motion_steps(b_parent, b_ob);
+ mesh->motion_steps = motion_steps;
if(motion_steps && object_use_deform_motion(b_parent, b_ob)) {
- mesh->motion_steps = motion_steps;
mesh->use_motion_blur = true;
}
}
More information about the Bf-blender-cvs
mailing list