////////////////////////////////////////////////////////////////////
globals->set_matlib( new SGMaterialLib );
- ////////////////////////////////////////////////////////////////////
- // Initialize the general model subsystem.
- ////////////////////////////////////////////////////////////////////
globals->set_model_lib(new SGModelLib);
- globals->set_model_mgr(new FGModelMgr);
- globals->get_model_mgr()->init();
- globals->get_model_mgr()->bind();
////////////////////////////////////////////////////////////////////
// Initialize the TG scenery subsystem.
globals->get_scenery()->bind();
globals->set_tile_mgr( new FGTileMgr );
+ ////////////////////////////////////////////////////////////////////
+ // Initialize the general model subsystem.
+ ////////////////////////////////////////////////////////////////////
+ globals->set_model_mgr(new FGModelMgr);
+ globals->get_model_mgr()->init();
+ globals->get_model_mgr()->bind();
+
////////////////////////////////////////////////////////////////////
// Initialize the 3D aircraft model subsystem (has a dependency on
// the scenery subsystem.)