[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40691] trunk/blender/intern/elbeem/intern /ntl_world.cpp: Fix #28416: setting fluid simulation start time to anything other than zero

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Sep 29 16:18:03 CEST 2011


Revision: 40691
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40691
Author:   blendix
Date:     2011-09-29 14:18:01 +0000 (Thu, 29 Sep 2011)
Log Message:
-----------
Fix #28416: setting fluid simulation start time to anything other than zero
gave wrong results. Note how in this code it already incremented to the start
time and then incorrectly added it again. Patch by Chris Foster, thanks!

Modified Paths:
--------------
    trunk/blender/intern/elbeem/intern/ntl_world.cpp

Modified: trunk/blender/intern/elbeem/intern/ntl_world.cpp
===================================================================
--- trunk/blender/intern/elbeem/intern/ntl_world.cpp	2011-09-29 13:52:58 UTC (rev 40690)
+++ trunk/blender/intern/elbeem/intern/ntl_world.cpp	2011-09-29 14:18:01 UTC (rev 40691)
@@ -216,7 +216,6 @@
 			}
 			long stopTime = getTime();
 
-			mSimulationTime += (*mpSims)[mFirstSim]->getStartTime();
 			debMsgStd("ntlWorld::ntlWorld",DM_MSG,"Time for start-sims:"<< getTimeString(stopTime-startTime) , 1);
 #ifndef NOGUI
 			guiResetSimulationTimeRange( mSimulationTime );




More information about the Bf-blender-cvs mailing list