Cycles: Improve logging of cases when motion blur is disabled

Next logical step is to expose this somehow to the interface.
This commit is contained in:
Sergey Sharybin 2017-01-11 14:34:56 +01:00
parent f071e48dcf
commit fa73db47e8
1 changed files with 4 additions and 2 deletions

View File

@ -1157,10 +1157,12 @@ void BlenderSync::sync_mesh_motion(BL::Object& b_ob,
{
/* no motion, remove attributes again */
if(b_mesh.vertices.length() != numverts) {
VLOG(1) << "Topology differs, disabling motion blur.";
VLOG(1) << "Topology differs, disabling motion blur for object "
<< b_ob.name();
}
else {
VLOG(1) << "No actual deformation motion for object " << b_ob.name();
VLOG(1) << "No actual deformation motion for object "
<< b_ob.name();
}
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_POSITION);
if(attr_mN)