[Orxonox-commit 2295] orxonox r7010 - code/branches/presentation3/src/modules/pickup

dafrick at orxonox.net dafrick at orxonox.net
Sun May 30 12:21:36 CEST 2010


Author: dafrick
Date: 2010-05-29 21:58:53 +0200 (Sat, 29 May 2010)
New Revision: 7010

Modified:
   code/branches/presentation3/src/modules/pickup/PickupManager.cc
Log:
Loading PickupInventory when the PickupManager gets created to avoid lua error messages.


Modified: code/branches/presentation3/src/modules/pickup/PickupManager.cc
===================================================================
--- code/branches/presentation3/src/modules/pickup/PickupManager.cc	2010-05-29 19:56:07 UTC (rev 7009)
+++ code/branches/presentation3/src/modules/pickup/PickupManager.cc	2010-05-29 19:58:53 UTC (rev 7010)
@@ -62,7 +62,8 @@
     PickupManager::PickupManager() : defaultRepresentation_(NULL)
     {
         RegisterRootObject(PickupManager);
-        
+
+        GUIManager::getInstance().loadGUI(PickupManager::guiName_s);
         this->defaultRepresentation_ = new PickupRepresentation();
         
         COUT(3) << "PickupManager created." << std::endl;




More information about the Orxonox-commit mailing list