mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Show ASAP TOT for debug view flights.
This commit is contained in:
parent
81af5d7497
commit
8c1ebfda02
@ -57,6 +57,7 @@ from gen.flights.flightplan import (
|
|||||||
FlightPlanBuilder,
|
FlightPlanBuilder,
|
||||||
InvalidObjectiveLocation,
|
InvalidObjectiveLocation,
|
||||||
)
|
)
|
||||||
|
from gen.flights.traveltime import TotEstimator
|
||||||
from qt_ui.displayoptions import DisplayOptions, ThreatZoneOptions
|
from qt_ui.displayoptions import DisplayOptions, ThreatZoneOptions
|
||||||
from qt_ui.models import GameModel
|
from qt_ui.models import GameModel
|
||||||
from qt_ui.widgets.map.QFrontLine import QFrontLine
|
from qt_ui.widgets.map.QFrontLine import QFrontLine
|
||||||
@ -460,6 +461,7 @@ class QLiberationMap(QGraphicsView):
|
|||||||
except InvalidObjectiveLocation:
|
except InvalidObjectiveLocation:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
package.time_over_target = TotEstimator(package).earliest_tot()
|
||||||
self.draw_flight_plan(scene, flight, selected=True)
|
self.draw_flight_plan(scene, flight, selected=True)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user