Cycles: Improve logging in object motion detection
Reporting mesh name is not really useful, since it's name does not any relation with the original object/mesh names.
This commit is contained in:
parent
2ae0f1e70b
commit
b13b900d50
|
@ -848,13 +848,13 @@ void BlenderSync::sync_mesh_motion(BL::Object b_ob, Object *object, float motion
|
|||
if(new_attribute) {
|
||||
if(i != numverts || memcmp(mP, &mesh->verts[0], sizeof(float3)*numverts) == 0) {
|
||||
/* no motion, remove attributes again */
|
||||
VLOG(1) << "No actual motion for mesh " << b_mesh.name();
|
||||
VLOG(1) << "No actual deformation motion for object " << b_ob.name();
|
||||
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_POSITION);
|
||||
if(attr_mN)
|
||||
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_NORMAL);
|
||||
}
|
||||
else if(time_index > 0) {
|
||||
VLOG(1) << "Filling motion for mesh " << b_mesh.name();
|
||||
VLOG(1) << "Filling deformation motion for object " << b_ob.name();
|
||||
/* motion, fill up previous steps that we might have skipped because
|
||||
* they had no motion, but we need them anyway now */
|
||||
float3 *P = &mesh->verts[0];
|
||||
|
|
Loading…
Reference in New Issue