[Bf-blender-cvs] [b13b900] master: Cycles: Improve logging in object motion detection
Sergey Sharybin
noreply at git.blender.org
Mon Mar 9 09:29:50 CET 2015
Commit: b13b900d50ffce9c19fb922634daf09141adee65
Author: Sergey Sharybin
Date: Mon Mar 9 13:02:06 2015 +0500
Branches: master
https://developer.blender.org/rBb13b900d50ffce9c19fb922634daf09141adee65
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.
===================================================================
M intern/cycles/blender/blender_mesh.cpp
===================================================================
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp
index d71825c..ba6bbf1 100644
--- a/intern/cycles/blender/blender_mesh.cpp
+++ b/intern/cycles/blender/blender_mesh.cpp
@@ -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];
More information about the Bf-blender-cvs
mailing list