Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2571


Ignore:
Timestamp:
Jan 6, 2009, 2:23:00 PM (16 years ago)
Author:
scheusso
Message:

ogre logmanager is now also activated for unix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/gamestates/GSGraphics.cc

    r2549 r2571  
    200200        delete this->ogreRoot_;
    201201
    202 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     202//#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
    203203        // delete the ogre log and the logManager (since we have created it).
    204204        this->ogreLogger_->getDefaultLog()->removeListener(this);
    205205        this->ogreLogger_->destroyLog(Ogre::LogManager::getSingleton().getDefaultLog());
    206206        delete this->ogreLogger_;
    207 #endif
     207//#endif
    208208
    209209        delete graphicsEngine_;
     
    277277
    278278        // TODO: LogManager doesn't work on oli platform. The why is yet unknown.
    279 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     279//#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
    280280        // create a new logManager
    281281        ogreLogger_ = new Ogre::LogManager();
     
    292292        myLog->setLogDetail(Ogre::LL_BOREME);
    293293        myLog->addListener(this);
    294 #endif
     294//#endif
    295295
    296296        // Root will detect that we've already created a Log
Note: See TracChangeset for help on using the changeset viewer.