Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 9, 2009, 6:04:16 PM (15 years ago)
Author:
scheusso
Message:

reverted r5911 partially and removed fallbackcamera
level scene now gets deleted after all when changing from level to mainmenu

Location:
code/branches/core5/src/libraries/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/core/GUIManager.h

    r5911 r5924  
    102102        CEGUI::Logger*                       ceguiLogger_;      //!< CEGUI's logger to be able to log CEGUI errors in our log
    103103        std::map<std::string, PlayerInfo*>   players_;          //!< Stores the player (owner) for each gui
    104         Ogre::Camera*                        camera_;           //!< Camera used to render the scene with the GUI
     104        Ogre::Camera*                        camera_;           //!< Camera used to render the scene with the
    105105
    106106        static GUIManager*                   singletonPtr_s;    //!< Singleton reference to GUIManager
  • code/branches/core5/src/libraries/core/GraphicsManager.cc

    r5876 r5924  
    361361
    362362        // Render frame
    363         ogreRoot_->_updateAllRenderTargets();
     363        if( this->viewport_->getCamera() )
     364            ogreRoot_->_updateAllRenderTargets();
    364365
    365366        uint64_t timeAfterTick = time.getRealMicroseconds();
Note: See TracChangeset for help on using the changeset viewer.