From 02fcd32e445a4088bcd73ae5de563ff0bc6d537e Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 11 May 2012 17:07:37 +0100 Subject: [PATCH] Don't repeat splash-screen status on the console. --- src/Viewer/splash.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index 78d79aa0b..06adfccb5 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -371,6 +371,10 @@ void fgSplashInit () { } void fgSplashProgress ( const char *text ) { + if (!strcmp(fgGetString("/sim/startup/splash-progress-text"), text)) { + return; + } + SG_LOG( SG_VIEW, SG_INFO, "Splash screen progress " << text ); fgSetString("/sim/startup/splash-progress-text", text); } -- 2.39.5