Added additional absPath where necessary

This commit is contained in:
Alexander Bock
2017-12-18 14:47:58 -05:00
parent 0b0ad54028
commit 966df322cf
5 changed files with 8 additions and 8 deletions

View File

@@ -943,8 +943,7 @@ void OpenSpaceEngine::loadFonts() {
_fontManager = std::make_unique<ghoul::fontrendering::FontManager>(FontAtlasSize);
for (const std::string& key : fonts.keys()) {
std::string font = fonts.value<std::string>(key);
font = absPath(font);
std::string font = absPath(fonts.value<std::string>(key));
if (!FileSys.fileExists(font)) {
LERROR("Could not find font '" << font << "'");