mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-18 01:41:29 -06:00
Feature/new formatting (#547)
* Change to new logging format (closes #542) * Adds a screenshots folder that uses the application startup time * Creating focus nodes for VRT files if the info files contain location information * Fix issue with removing virtual properties * Add a method for returning the cartesian coordinates for a geolocation on a planet
This commit is contained in:
@@ -60,7 +60,7 @@ void ModuleEngine::initialize(const ghoul::Dictionary& moduleConfigurations) {
|
||||
void ModuleEngine::deinitialize() {
|
||||
LDEBUG("Deinitializing modules");
|
||||
for (auto& m : _modules) {
|
||||
LDEBUG("Deinitializing module '" << m->name() << "'");
|
||||
LDEBUG(fmt::format("Deinitializing module '{}'", m->name()));
|
||||
m->deinitialize();
|
||||
}
|
||||
_modules.clear();
|
||||
@@ -86,10 +86,10 @@ void ModuleEngine::registerModule(std::unique_ptr<OpenSpaceModule> m,
|
||||
);
|
||||
}
|
||||
|
||||
LDEBUG("Registering module '" << m->name() << "'");
|
||||
LDEBUG(fmt::format("Registering module '{}'", m->name()));
|
||||
m->initialize(this, configuration);
|
||||
addPropertySubOwner(m.get());
|
||||
LDEBUG("Registered module '" << m->name() << "'");
|
||||
LDEBUG(fmt::format("Registered module '{}'", m->name()));
|
||||
_modules.push_back(std::move(m));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user