Revision: 8274
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8274&view=rev
Author:   rtv
Date:     2009-09-30 23:33:22 +0000 (Wed, 30 Sep 2009)

Log Message:
-----------
chasing bugs

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

Modified: code/stage/trunk/libstage/world.cc
===================================================================
--- code/stage/trunk/libstage/world.cc  2009-09-30 22:31:42 UTC (rev 8273)
+++ code/stage/trunk/libstage/world.cc  2009-09-30 23:33:22 UTC (rev 8274)
@@ -385,8 +385,15 @@
   
   // call all controller init functions
   FOR_EACH( it, models )
-        (*it)->InitControllers();
-  
+        {
+               // this is a hack and shouldn't be necessary
+               (*it)->UnMap();
+               (*it)->Map();
+               // to here
+
+               (*it)->InitControllers();
+        }
+
   putchar( '\n' );
 }
 

Modified: code/stage/trunk/worlds/simple.world
===================================================================
--- code/stage/trunk/worlds/simple.world        2009-09-30 22:31:42 UTC (rev 
8273)
+++ code/stage/trunk/worlds/simple.world        2009-09-30 23:33:22 UTC (rev 
8274)
@@ -29,9 +29,11 @@
 floorplan
 ( 
   name "cave"
-  size [16.000 16.000 0.800]
+  #size [16.000 16.000 0.800]
+  size [ 46 46 0.800]
   pose [0 0 0 0]
-  bitmap "bitmaps/cave.png"
+  #bitmap "bitmaps/cave.png"
+  bitmap "bitmaps/circle.png"
 )
 
 


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to