mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Improve display of nav points in kneeboard.
This commit is contained in:
parent
ac59e15bd9
commit
2856fbc42b
@ -84,6 +84,9 @@ class FlightWaypoint:
|
|||||||
self.alt = alt
|
self.alt = alt
|
||||||
self.alt_type = "BARO"
|
self.alt_type = "BARO"
|
||||||
self.name = ""
|
self.name = ""
|
||||||
|
# TODO: Merge with pretty_name.
|
||||||
|
# Only used in the waypoint list in the flight edit page. No sense
|
||||||
|
# having three names. A short and long form is enough.
|
||||||
self.description = ""
|
self.description = ""
|
||||||
self.targets: List[MissionTarget] = []
|
self.targets: List[MissionTarget] = []
|
||||||
self.obj_name = ""
|
self.obj_name = ""
|
||||||
|
|||||||
@ -456,8 +456,8 @@ class WaypointBuilder:
|
|||||||
altitude
|
altitude
|
||||||
)
|
)
|
||||||
waypoint.name = "NAV"
|
waypoint.name = "NAV"
|
||||||
waypoint.description = ""
|
waypoint.description = "NAV"
|
||||||
waypoint.pretty_name = ""
|
waypoint.pretty_name = "Nav"
|
||||||
return waypoint
|
return waypoint
|
||||||
|
|
||||||
def nav_path(self, a: Point, b: Point,
|
def nav_path(self, a: Point, b: Point,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user