mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 18:38:20 -05:00
Update Ghoul
Adapted to new ghoul version
This commit is contained in:
@@ -78,8 +78,10 @@ bool ConfigurationManager::loadFromFile(const std::string& filename) {
|
||||
FileSys.registerPathToken(basePathToken, basePath);
|
||||
|
||||
// Loading the configuration file into ourselves
|
||||
const bool loadingSuccess = ghoul::lua::loadDictionaryFromFile(filename, *this);
|
||||
if (!loadingSuccess) {
|
||||
try {
|
||||
ghoul::lua::loadDictionaryFromFile(filename, *this);
|
||||
}
|
||||
catch (...) {
|
||||
LERROR("Loading dictionary from file failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user