diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-29 18:18:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-29 18:18:01 +0400 |
commit | 9520295ade25064da4987ef182d9c533f527fbc1 (patch) | |
tree | 6df74e831eac54a877696f32d119bf50cff9c187 /intern | |
parent | e276855e60dc69b4e3313d635322a86a3e7e1e6e (diff) |
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!
Diffstat (limited to 'intern')
-rw-r--r-- | intern/elbeem/intern/ntl_world.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/intern/elbeem/intern/ntl_world.cpp b/intern/elbeem/intern/ntl_world.cpp index 38b8cc3518c..42ee94b2cf5 100644 --- a/intern/elbeem/intern/ntl_world.cpp +++ b/intern/elbeem/intern/ntl_world.cpp @@ -216,7 +216,6 @@ void ntlWorld::finishWorldInit() } long stopTime = getTime(); - mSimulationTime += (*mpSims)[mFirstSim]->getStartTime(); debMsgStd("ntlWorld::ntlWorld",DM_MSG,"Time for start-sims:"<< getTimeString(stopTime-startTime) , 1); #ifndef NOGUI guiResetSimulationTimeRange( mSimulationTime ); |