1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

catch and set with no _found; leave empty as empty string

This commit is contained in:
Bret Curtis 2020-04-27 08:02:42 +02:00
parent 6d3f9ce307
commit 1870b4b345

View file

@ -42,6 +42,8 @@ Profiler::Profiler()
{
if (osgDB::Registry::instance()->getReaderWriterForExtension("ttf"))
_font = osgMyGUI::DataManager::getInstance().getDataPath("DejaVuLGCSansMono.ttf");
else
_font = "";
setKeyEventTogglesOnScreenStats(osgGA::GUIEventAdapter::KEY_F3);
}