diff --git a/test_suite/FGTestApi/scene_graph.cxx b/test_suite/FGTestApi/scene_graph.cxx index 877f836a1..b053987e5 100644 --- a/test_suite/FGTestApi/scene_graph.cxx +++ b/test_suite/FGTestApi/scene_graph.cxx @@ -21,6 +21,7 @@ #include
#include
+#include
#include #include #include @@ -37,6 +38,9 @@ void initScenery() SG_LOG(SG_GENERAL, SG_ALERT, "Cannot read the global defaults from \"" << defaultsXML.utf8Str() << "\"."); fgLoadProps("defaults.xml", globals->get_props()); + // otherwise fgSplashProgress will assert + globals->get_locale()->selectLanguage({}); + // Set up the renderer. osg::ref_ptr viewer = new osgViewer::Viewer; FGRenderer* render = globals->get_renderer();