mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 07:19:28 -05:00
Reset current distance along segment when clearing a path
This commit is contained in:
@@ -194,6 +194,7 @@ void AutoNavigationHandler::clearPath() {
|
||||
_pathSegments.clear();
|
||||
_currentTime = 0.0;
|
||||
_currentSegmentIndex = 0;
|
||||
_distanceAlongCurrentSegment = 0.0;
|
||||
}
|
||||
|
||||
void AutoNavigationHandler::startPath() {
|
||||
|
||||
Reference in New Issue
Block a user