Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-04-26 17:17:11 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-04-26 17:17:11 +0300
commitf172f2b146fc1d112f17cb67d7a3a77f52a3baee (patch)
tree07dd33e18e0fb9df619e573b0191aac0d147ec77
parentab500eb3f343e90eff633a9afaf24aa8209a7847 (diff)
Cycles: Improve logging about motion blur a bit
-rw-r--r--intern/cycles/blender/blender_mesh.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp
index ef193665972..55ef913408f 100644
--- a/intern/cycles/blender/blender_mesh.cpp
+++ b/intern/cycles/blender/blender_mesh.cpp
@@ -976,7 +976,12 @@ void BlenderSync::sync_mesh_motion(BL::Object& b_ob,
memcmp(mP, &mesh->verts[0], sizeof(float3)*numverts) == 0)
{
/* no motion, remove attributes again */
- VLOG(1) << "No actual deformation motion for object " << b_ob.name();
+ 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();
+ }
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_POSITION);
if(attr_mN)
mesh->attributes.remove(ATTR_STD_MOTION_VERTEX_NORMAL);