[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58680] branches/soc-2013-cycles_mblur/ intern/cycles/blender/blender_object.cpp: This commit fixes a bug that made Cycles export all steps for all
Gavin Howard
gavin.d.howard at gmail.com
Sat Jul 27 23:00:42 CEST 2013
Revision: 58680
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58680
Author: gdh
Date: 2013-07-27 21:00:41 +0000 (Sat, 27 Jul 2013)
Log Message:
-----------
This commit fixes a bug that made Cycles export all steps for all
objects. Now, sync_object() checks to make sure that the export_time
is needed for the object.
Modified Paths:
--------------
branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp
Modified: branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp
===================================================================
--- branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp 2013-07-27 20:59:45 UTC (rev 58679)
+++ branches/soc-2013-cycles_mblur/intern/cycles/blender/blender_object.cpp 2013-07-27 21:00:41 UTC (rev 58680)
@@ -298,7 +298,8 @@
/* mesh deformation blur not supported yet
* but we're working on it :) */
- if(object->use_motion && object->use_deform_mblur) {
+ if(object->use_motion && object->use_deform_mblur &&
+ object->export_times->find(export_time) != object->export_times->end()) {
sync_mesh_motion(b_ob, object->mesh);
if (display) {
More information about the Bf-blender-cvs
mailing list