Use setFocusNode instead of anchor

This commit is contained in:
Emma Broman
2021-06-24 15:21:18 +02:00
parent 6119b9b2a2
commit 9adcbe13bc
+1 -1
View File
@@ -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) {