mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-14 01:10:11 -05:00
make sure that the stopAtTargets property is applied
This commit is contained in:
@@ -351,7 +351,8 @@ void AutoNavigationHandler::addSegment(Waypoint& waypoint, const Instruction* in
|
||||
}
|
||||
|
||||
void AutoNavigationHandler::addStopDetails(const Instruction* ins) {
|
||||
StopDetails stopEntry{ _stopAtTargetsPerDefault };
|
||||
StopDetails stopEntry;
|
||||
stopEntry.shouldStop = _stopAtTargetsPerDefault.value();
|
||||
|
||||
if (ins->stopAtTarget.has_value()) {
|
||||
stopEntry.shouldStop = ins->stopAtTarget.value();
|
||||
|
||||
Reference in New Issue
Block a user