Revision: 6618
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6618&view=rev
Author:   jeremy_asher
Date:     2008-06-17 10:45:11 -0700 (Tue, 17 Jun 2008)

Log Message:
-----------
Fixed worldfile path caching for command line startup

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

Modified: code/stage/trunk/libstage/worldgui.cc
===================================================================
--- code/stage/trunk/libstage/worldgui.cc       2008-06-17 07:40:18 UTC (rev 
6617)
+++ code/stage/trunk/libstage/worldgui.cc       2008-06-17 17:45:11 UTC (rev 
6618)
@@ -249,6 +249,8 @@
 void StgWorldGui::Load( const char* filename )
 {
        PRINT_DEBUG1( "%s.Load()", token );
+       
+       fileMan.newWorld( filename );
 
        StgWorld::Load( filename );
 
@@ -355,7 +357,6 @@
                        // }
                        
                        // todo: make sure loading is successful
-                       world->fileMan.newWorld( filename );
                        world->Load( filename );
                        world->Start(); // if (stopped)
                }


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to