Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5678


Ignore:
Timestamp:
Aug 24, 2009, 7:19:58 PM (15 years ago)
Author:
rgrieder
Message:

Changed initialisation order in Core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource3/src/core/Core.cc

    r5677 r5678  
    297297        this->languageInstance_.reset(new Language());
    298298
     299        // creates the class hierarchy for all classes with factories
     300        Factory::createClassHierarchy();
     301
    299302        // Do this soon after the ConfigFileManager has been created to open up the
    300303        // possibility to configure everything below here
     
    304307        this->luaBind_.reset(new LuaBind());
    305308
     309        // Load OGRE excluding the renderer and the render window
     310        this->graphicsManager_.reset(new GraphicsManager(false));
     311
    306312        // initialise Tcl
    307313        this->tclBind_.reset(new TclBind(Core::getMediaPathString()));
     
    310316        // create a shell
    311317        this->shell_.reset(new Shell());
    312 
    313         // creates the class hierarchy for all classes with factories
    314         Factory::createClassHierarchy();
    315 
    316         // Load OGRE excluding the renderer and the render window
    317         this->graphicsManager_.reset(new GraphicsManager(false));
    318318    }
    319319
Note: See TracChangeset for help on using the changeset viewer.