[Bf-blender-cvs] [bbd3ac73bcf] master: Fix T56396: Cycles wrong object motion blur with deformation blur disabled.

Brecht Van Lommel noreply at git.blender.org
Sun Sep 30 19:34:45 CEST 2018


Commit: bbd3ac73bcfa8d14313e32ba0d0231d540540d5a
Author: Brecht Van Lommel
Date:   Fri Sep 28 18:22:35 2018 +0200
Branches: master
https://developer.blender.org/rBbbd3ac73bcfa8d14313e32ba0d0231d540540d5a

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 35bf7beda41..0fab9ab3531 100644
--- a/intern/cycles/blender/blender_object.cpp
+++ b/intern/cycles/blender/blender_object.cpp
@@ -404,8 +404,8 @@ Object *BlenderSync::sync_object(BL::Object& b_parent,
 
 			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