Revision: 6744
http://playerstage.svn.sourceforge.net/playerstage/?rev=6744&view=rev
Author: alexcb
Date: 2008-07-02 16:42:25 -0700 (Wed, 02 Jul 2008)
Log Message:
-----------
fixed save only works on 2nd try bug
Modified Paths:
--------------
code/stage/trunk/libstage/worldgui.cc
Modified: code/stage/trunk/libstage/worldgui.cc
===================================================================
--- code/stage/trunk/libstage/worldgui.cc 2008-07-02 22:14:14 UTC (rev
6743)
+++ code/stage/trunk/libstage/worldgui.cc 2008-07-02 23:42:25 UTC (rev
6744)
@@ -212,8 +212,6 @@
bool StgWorldGui::Save( const char* filename )
{
PRINT_DEBUG1( "%s.Save()", token );
-
- StgWorld::Save( filename );
// use the window section for the rest
int window_section = wf->LookupEntity( "window" );
@@ -228,6 +226,8 @@
// TODO - per model visualizations save
}
+ StgWorld::Save( filename );
+
// TODO - error checking
return true;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit