Revision: 6460 http://playerstage.svn.sourceforge.net/playerstage/?rev=6460&view=rev Author: robotos Date: 2008-05-31 18:16:04 -0700 (Sat, 31 May 2008)
Log Message: ----------- Initialize variables in main loop Patch by razorunreal at sourceforge Modified Paths: -------------- code/gazebo/trunk/server/Simulator.cc Modified: code/gazebo/trunk/server/Simulator.cc =================================================================== --- code/gazebo/trunk/server/Simulator.cc 2008-05-30 08:10:33 UTC (rev 6459) +++ code/gazebo/trunk/server/Simulator.cc 2008-06-01 01:16:04 UTC (rev 6460) @@ -209,6 +209,9 @@ double currTime; double elapsedTime; + this->prevPhysicsTime = this->GetRealTime(); + this->prevRenderTime = this->GetRealTime(); + while (!this->userQuit) { currTime = this->GetRealTime(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit