mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
catch and set with no _found; leave empty as empty string
This commit is contained in:
parent
6d3f9ce307
commit
1870b4b345
@ -42,6 +42,8 @@ Profiler::Profiler()
|
|||||||
{
|
{
|
||||||
if (osgDB::Registry::instance()->getReaderWriterForExtension("ttf"))
|
if (osgDB::Registry::instance()->getReaderWriterForExtension("ttf"))
|
||||||
_font = osgMyGUI::DataManager::getInstance().getDataPath("DejaVuLGCSansMono.ttf");
|
_font = osgMyGUI::DataManager::getInstance().getDataPath("DejaVuLGCSansMono.ttf");
|
||||||
|
else
|
||||||
|
_font = "";
|
||||||
|
|
||||||
setKeyEventTogglesOnScreenStats(osgGA::GUIEventAdapter::KEY_F3);
|
setKeyEventTogglesOnScreenStats(osgGA::GUIEventAdapter::KEY_F3);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user