Fix crash in OpenSpaceTest due to missing initialization of the LogManager

This commit is contained in:
Emma Broman
2021-02-23 11:07:42 +01:00
parent ac095acae4
commit d630f85cf4

View File

@@ -42,9 +42,14 @@
int main(int argc, char** argv) {
using namespace openspace;
ghoul::logging::LogManager::initialize(
ghoul::logging::LogLevel::Debug,
ghoul::logging::LogManager::ImmediateFlush::Yes
);
ghoul::initialize();
global::create();
// Register the path of the executable,
// to make it possible to find other files in the same directory.
FileSys.registerPathToken(