Revert "more explicity waypoint namespace"

This reverts commit 314be482f9ab33fddd34cb63dddba42482f5fdfe.
This commit is contained in:
walterroach 2020-11-07 22:58:15 -06:00 committed by Dan Albert
parent e6af1b8645
commit 11426a0713

View File

@ -1211,7 +1211,7 @@ class PydcsWaypointBuilder:
waypoint.name = String(self.waypoint.name)
tot = self.flight.flight_plan.tot_for_waypoint(self.waypoint)
if tot is not None:
waypoint = self.set_waypoint_tot(waypoint, tot)
self.set_waypoint_tot(waypoint, tot)
return waypoint
def set_waypoint_tot(self, waypoint: MovingPoint, tot: timedelta) -> None:
@ -1220,7 +1220,6 @@ class PydcsWaypointBuilder:
waypoint.ETA = int(tot.total_seconds())
waypoint.ETA_locked = True
waypoint.speed_locked = False
return waypoint
@classmethod
def for_waypoint(cls, waypoint: FlightWaypoint, group: FlyingGroup,