From 9adcbe13bc147b2c2fddfd28693aef31eea7109e Mon Sep 17 00:00:00 2001 From: Emma Broman Date: Thu, 24 Jun 2021 15:21:18 +0200 Subject: [PATCH] Use setFocusNode instead of anchor --- src/navigation/pathnavigator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navigation/pathnavigator.cpp b/src/navigation/pathnavigator.cpp index 526df5efcb..95d18df5bb 100644 --- a/src/navigation/pathnavigator.cpp +++ b/src/navigation/pathnavigator.cpp @@ -217,7 +217,7 @@ void PathNavigator::updateCamera(double deltaTime) { // navigation when we reach the end. std::string currentAnchor = anchor()->identifier(); if (currentAnchor != newAnchor) { - global::navigationHandler->orbitalNavigator().setAnchorNode(newAnchor); + global::navigationHandler->orbitalNavigator().setFocusNode(newAnchor, false); } if (!_includeRoll) {