Fix T56396: Cycles wrong object motion blur with deformation blur disabled.

This commit is contained in:
Brecht Van Lommel 2018-09-28 18:22:35 +02:00
parent 62aee662ae
commit 637d938c0b
Notes: blender-bot 2023-02-14 05:26:49 +01:00
Referenced by issue #56396, Cycles - Non-Deformation Motion Blur is inconsistant
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}