mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-14 23:39:00 -05:00
Use setFocusNode instead of anchor
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user