Revision: 7607
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7607&view=rev
Author:   rtv
Date:     2009-04-30 00:47:18 +0000 (Thu, 30 Apr 2009)

Log Message:
-----------
added callbacks to world that runat the end of an update cycle, after all model 
callbacks have been called but before the clock is ticked

Modified Paths:
--------------
    code/stage/trunk/libstage/world.cc

Modified: code/stage/trunk/libstage/world.cc
===================================================================
--- code/stage/trunk/libstage/world.cc  2009-04-30 00:46:52 UTC (rev 7606)
+++ code/stage/trunk/libstage/world.cc  2009-04-30 00:47:18 UTC (rev 7607)
@@ -564,13 +564,11 @@
                fflush( stdout );
         }
 
-  this->updates++;
-  
   CallUpdateCallbacks();
   
+  this->updates++;  
   this->sim_time += this->interval_sim;
        
-
   return false;
 }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to