Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 7:40:25 PM (15 years ago)
Author:
rgrieder
Message:

Bugfix for dedicated mode. Should work now except for an exception with an OrxonoxOverlay. Was that there before too?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/Scene.cc

    r2466 r2468  
    7474        {
    7575            // create a dummy SceneManager of our own since we don't have Ogre::Root.
    76             this->sceneManager_ = new Ogre::DefaultSceneManager("");
    77             this->rootSceneNode_ = this->sceneManager_->getRootSceneNode();
     76            this->sceneManagerDedicated_ = new Ogre::DefaultSceneManager("");
     77            this->rootSceneNode_ = this->sceneManagerDedicated_->getRootSceneNode();
     78            this->sceneManager_ = 0;
    7879        }
    7980
     
    114115            else if (!Core::showsGraphics())
    115116            {
    116                 delete this->sceneManager_;
     117                delete this->sceneManagerDedicated_;
    117118            }
    118119
Note: See TracChangeset for help on using the changeset viewer.