mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-29 07:30:07 -06:00
Fix bug where interaction handler is updates on wrong place.
This commit is contained in:
@@ -756,6 +756,7 @@ void OpenSpaceEngine::preSynchronization() {
|
||||
FileSys.triggerFilesystemEvents();
|
||||
if (_isMaster) {
|
||||
double dt = _windowWrapper->averageDeltaTime();
|
||||
_interactionHandler->update(dt);
|
||||
|
||||
Time::ref().advanceTime(dt);
|
||||
Time::ref().preSynchronization();
|
||||
@@ -763,8 +764,6 @@ void OpenSpaceEngine::preSynchronization() {
|
||||
_scriptEngine->preSynchronization();
|
||||
_renderEngine->preSynchronization();
|
||||
_parallelConnection->preSynchronization();
|
||||
|
||||
_interactionHandler->update(dt);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user