diff --git a/src/navigation/orbitalnavigator.cpp b/src/navigation/orbitalnavigator.cpp index 1e0035552b..bee8a29227 100644 --- a/src/navigation/orbitalnavigator.cpp +++ b/src/navigation/orbitalnavigator.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -2085,9 +2086,11 @@ double OrbitalNavigator::rotationSpeedScaleFromCameraHeight( 1.0; } -// This should only be run on nodes and not on master void OrbitalNavigator::updateAnchor() { - ghoul_assert(!global::windowDelegate->isMaster()); + ghoul_assert( + !global::windowDelegate->isMaster(), + "Anchor should only be synced on nodes, not on master" + ); if (!_syncedAnchorNode.data().empty()) { setAnchorNode(_syncedAnchorNode);