mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update Point.lua
This commit is contained in:
@@ -132,6 +132,8 @@ function NAVFIX:NewFromVector(Name, Type, Vector)
|
|||||||
-- Type of the point.
|
-- Type of the point.
|
||||||
self.typePoint=Type or NAVFIX.Type.POINT
|
self.typePoint=Type or NAVFIX.Type.POINT
|
||||||
|
|
||||||
|
local coord=COORDINATE:NewFromVec3(self.vector)
|
||||||
|
|
||||||
-- Marker on F10.
|
-- Marker on F10.
|
||||||
self.marker=MARKER:New(coord, self:_GetMarkerText())
|
self.marker=MARKER:New(coord, self:_GetMarkerText())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user