[Bf-blender-cvs] [e068d09a4b] master: Cycles: Improve logging of cases when motion blur is disabled

Sergey Sharybin noreply at git.blender.org
Wed Jan 11 14:35:35 CET 2017


Commit: e068d09a4bc8cee957e3cfee90fb852180b6be5f
Author: Sergey Sharybin
Date:   Wed Jan 11 14:34:56 2017 +0100
Branches: master
https://developer.blender.org/rBe068d09a4bc8cee957e3cfee90fb852180b6be5f

Cycles: Improve logging of cases when motion blur is disabled

Next logical step is to expose this somehow to the interface.

===================================================================

M	intern/cycles/blender/blender_mesh.cpp

===================================================================

diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp
index fab03c7659..ab909c4527 100644
--- a/intern/cycles/blender/blender_mesh.cpp
+++ b/intern/cycles/blender/blender_mesh.cpp
@@ -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)




More information about the Bf-blender-cvs mailing list