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 de3ee3c6e8
commit bbd3ac73bc
1 changed files with 1 additions and 1 deletions

View File

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