Revision: 1934
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1934&view=rev
Author:   rorthomas
Date:     2011-05-13 13:30:07 +0000 (Fri, 13 May 2011)

Log Message:
-----------
removed computationally intensive code

Modified Paths:
--------------
    trunk/source/main/scripting/ScriptEngine.cpp

Modified: trunk/source/main/scripting/ScriptEngine.cpp
===================================================================
--- trunk/source/main/scripting/ScriptEngine.cpp        2011-05-13 13:26:51 UTC 
(rev 1933)
+++ trunk/source/main/scripting/ScriptEngine.cpp        2011-05-13 13:30:07 UTC 
(rev 1934)
@@ -476,6 +476,8 @@
 
 int ScriptEngine::framestep(Ogre::Real dt)
 {
+
+#if 0
        Beam **trucks = BeamFactory::getSingleton().getTrucks();
        int free_truck = BeamFactory::getSingleton().getTruckCount();
        // check for all truck wheels
@@ -526,6 +528,7 @@
                        }
                }
        }
+#endif // 0
 
        // check if current truck is in an event box
        Beam *truck = BeamFactory::getSingleton().getCurrentTruck();


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

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Rigsofrods-devel mailing list
Rigsofrods-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to