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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-29 18:18:01 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-29 18:18:01 +0400
commit9520295ade25064da4987ef182d9c533f527fbc1 (patch)
tree6df74e831eac54a877696f32d119bf50cff9c187 /intern/elbeem
parente276855e60dc69b4e3313d635322a86a3e7e1e6e (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/elbeem')
-rw-r--r--intern/elbeem/intern/ntl_world.cpp1
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 );