src/Viewer/splash.cxx: also show info about CompositeViewer if disabled.
This commit is contained in:
parent
fddb32f5c1
commit
1cf5b2ab44
1 changed files with 7 additions and 6 deletions
|
@ -204,12 +204,13 @@ void SplashScreen::createNodes()
|
|||
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
||||
}
|
||||
|
||||
if (fgGetBool("/sim/rendering/composite-viewer-enabled")) {
|
||||
addText(geode, osg::Vec2(0.5f, 0.65f), 0.03,
|
||||
"CompositeViewer",
|
||||
osgText::Text::CENTER_CENTER,
|
||||
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
||||
}
|
||||
addText(geode, osg::Vec2(0.5f, 0.65f), 0.03,
|
||||
fgGetBool("/sim/rendering/composite-viewer-enabled")
|
||||
? "CompositeViewer enabled"
|
||||
: "CompositeViewer disabled\n(enable with --composite-viewer=1)"
|
||||
,
|
||||
osgText::Text::CENTER_CENTER,
|
||||
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
||||
|
||||
///////////
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue