- Timestamp:
- 02/21/10 14:47:32 (7 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZOgre/src/RenderingService.cpp
r3409 r3438 47 47 48 48 // TODO Where should this go? 49 49 std::cout << "OGRE: m_root.restoreConfig()" << std::endl; 50 50 if (m_root.restoreConfig()) 51 51 { … … 53 53 std::cout << "Rendering configuration loaded from file 'ogre.cfg'. Delete it to show dialog at startup." << std::endl; 54 54 m_root.initialise(false); 55 Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./materials/textures", "FileSystem", "General", false); 55 56 return; 56 57 } 57 58 58 59 // there was no valid ogre.cfg file to read from, so let's show the dialog 60 std::cout << "OGRE: m_root.showConfigDialog()" << std::endl; 59 61 if (m_root.showConfigDialog()) 60 62 { 61 63 std::cout << "Rendering configuration loaded from on-screen dialog." << std::endl; 62 64 m_root.initialise(false); 65 Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./materials/textures", "FileSystem", "General", false); 63 66 return; 64 67 }
