mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-16 08:51:26 -06:00
Merge branch 'develop' of github.com:OpenSpace/OpenSpace into pr/scenegraph-refactor
This commit is contained in:
@@ -271,7 +271,7 @@ void OpenSpaceEngine::create(int argc, char** argv,
|
||||
}
|
||||
throw;
|
||||
}
|
||||
catch (const ghoul::RuntimeError& e) {
|
||||
catch (const ghoul::RuntimeError&) {
|
||||
LFATAL("Loading of configuration file '" << configurationFilePath << "' failed");
|
||||
throw;
|
||||
}
|
||||
@@ -477,9 +477,9 @@ void OpenSpaceEngine::initialize() {
|
||||
writeDocumentation();
|
||||
|
||||
if (configurationManager().hasKey(ConfigurationManager::KeyShutdownCountdown)) {
|
||||
_shutdown.waitTime = configurationManager().value<double>(
|
||||
_shutdown.waitTime = static_cast<float>(configurationManager().value<double>(
|
||||
ConfigurationManager::KeyShutdownCountdown
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
if (!commandlineArgumentPlaceholders.sceneName.empty()) {
|
||||
@@ -983,7 +983,7 @@ void OpenSpaceEngine::postSynchronizationPreDraw() {
|
||||
if (_shutdown.timer <= 0.f) {
|
||||
_windowWrapper->terminate();
|
||||
}
|
||||
_shutdown.timer -= _windowWrapper->averageDeltaTime();
|
||||
_shutdown.timer -= static_cast<float>(_windowWrapper->averageDeltaTime());
|
||||
}
|
||||
|
||||
_renderEngine->updateScene();
|
||||
|
||||
Reference in New Issue
Block a user