Changeset 1493 for code/branches/network/src/orxonox/GraphicsEngine.cc
- Timestamp:
- May 31, 2008, 10:35:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/GraphicsEngine.cc
r1487 r1493 157 157 myLog = logger->createLog("ogre.log", true, false, true); 158 158 else 159 159 myLog = logger->createLog(this->ogreLogfile_, true, false, false); 160 160 CCOUT(4) << "Ogre Log created" << std::endl; 161 161 … … 166 166 // Root will detect that we've already created a Log 167 167 CCOUT(4) << "Creating Ogre Root..." << std::endl; 168 root_ = new Ogre::Root(plugin_filename); 168 169 root_ = new Ogre::Root(plugin_filename, "ogre.cfg", this->ogreLogfile_); 170 171 #if ORXONOX_PLATFORM != ORXONOX_PLATFORM_WIN32 172 // tame the ogre ouput so we don't get all the mess in the console 173 Ogre::Log* defaultLog = Ogre::LogManager::getSingleton().getDefaultLog(); 174 defaultLog->setDebugOutputEnabled(false); 175 defaultLog->setLogDetail(Ogre::LL_BOREME); 176 defaultLog->addListener(this); 177 #endif 178 169 179 CCOUT(4) << "Creating Ogre Root done" << std::endl; 170 180 … … 251 261 bool GraphicsEngine::createNewScene() 252 262 { 253 CCOUT(4) << "Creating new SceneManager " << std::endl;263 CCOUT(4) << "Creating new SceneManager..." << std::endl; 254 264 if (scene_) 255 265 {
Note: See TracChangeset
for help on using the changeset viewer.