Cycles: Improve logging about motion blur a bit
This commit is contained in:
@@ -976,7 +976,12 @@ void BlenderSync::sync_mesh_motion(BL::Object& b_ob,
|
|||||||
memcmp(mP, &mesh->verts[0], sizeof(float3)*numverts) == 0)
|
memcmp(mP, &mesh->verts[0], sizeof(float3)*numverts) == 0)
|
||||||
{
|
{
|
||||||
/* no motion, remove attributes again */
|
/* no motion, remove attributes again */
|
||||||
|
if(b_mesh.vertices.length() != numverts) {
|
||||||
|
VLOG(1) << "Topology differs, disabling motion blur.";
|
||||||
|
}
|
||||||
|
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);
|
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_POSITION);
|
||||||
if(attr_mN)
|
if(attr_mN)
|
||||||
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_NORMAL);
|
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_NORMAL);
|
||||||
|
Reference in New Issue
Block a user