diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 1f1812859..2cea1aeea 100755 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -1035,7 +1035,7 @@ void fgCreateSubsystems(bool duringReset) { { SGSubsystem * httpd = flightgear::http::FGHttpd::createInstance( fgGetNode(flightgear::http::PROPERTY_ROOT) ); if( NULL != httpd ) - mgr->add(httpd); + mgr->add("httpd", httpd); } if (!duringReset) { @@ -1106,7 +1106,7 @@ void fgCreateSubsystems(bool duringReset) { mgr->add(); auto canvasGui = new GUIMgr; - mgr->add(canvasGui); + mgr->add("CanvasGUI", canvasGui, SGSubsystemMgr::DISPLAY); auto guiCamera = flightgear::getGUICamera(flightgear::CameraGroup::getDefault()); canvasGui->setGUIViewAndCamera(globals->get_renderer()->getView(), guiCamera); @@ -1117,7 +1117,7 @@ void fgCreateSubsystems(bool duringReset) { // ordering here is important : Nasal (via events), then models, then views if (!duringReset) { mgr->add(); - mgr->add(globals->get_event_mgr()); + mgr->add("events", globals->get_event_mgr(), SGSubsystemMgr::DISPLAY); } mgr->add();