Add compositor text to splash, if enabled
This will be removed post 2020.2 release, so not worrying about translation of this.
This commit is contained in:
parent
2fd0877824
commit
264451246e
1 changed files with 9 additions and 0 deletions
|
@ -206,6 +206,15 @@ void SplashScreen::createNodes()
|
|||
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
||||
}
|
||||
|
||||
#if defined(ENABLE_COMPOSITOR)
|
||||
auto compositorText = globals->get_locale()->getLocalizedString("compositor-enabled", "sys", "Compositor");
|
||||
addText(geode, osg::Vec2(0.5f, 0.55f), 0.03,
|
||||
compositorText,
|
||||
osgText::Text::CENTER_CENTER,
|
||||
nullptr, -1.0, osg::Vec4(1.0, 0.0, 0.0, 1.0));
|
||||
#endif
|
||||
|
||||
|
||||
///////////
|
||||
|
||||
geometry = new osg::Geometry;
|
||||
|
|
Loading…
Add table
Reference in a new issue