From 76f774e5f31e82ad30754a83ba9f8ce19912d93d Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sun, 4 Dec 2022 20:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Viewer/splash.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Viewer/splash.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index 76690c9..977f263 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -189,7 +189,7 @@ void SplashScreen::createNodes() // put this information into the property tree so the defaults or model can pull it in. fgSetString("/sim/startup/splash-authors", flightgear::getAircraftAuthorsText()); fgSetString("/sim/startup/description", fgGetString("/sim/description")); - fgSetString("/sim/startup/title", "FlightGear "s + fgGetString("/sim/version/flightgear")); + fgSetString("/sim/startup/title", "JingweiHT "s + fgGetString("/sim/version/flightgear")); if (!strcmp(FG_BUILD_TYPE, "Nightly")) { fgSetString("sim/build-warning", globals->get_locale()->getLocalizedString("unstable-warning", "sys", "unstable!")); @@ -492,6 +492,10 @@ SplashScreen::TextItem *SplashScreen::addText(osg::Geode* geode , { SGPath path = globals->resolve_maybe_aircraft_path(fontFace); + + SG_LOG(SG_VIEW, SG_WARN, "Font Path: " << path); + + TextItem item; osg::ref_ptr t = new osgText::Text; item.textNode = t;