mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@@ -1778,10 +1778,14 @@ end
|
||||
|
||||
--- Returns the group template from the global _DATABASE object (an instance of @{Core.Database#DATABASE}).
|
||||
-- @param #GROUP self
|
||||
-- @return #table
|
||||
-- @return #table Template table.
|
||||
function GROUP:GetTemplate()
|
||||
local GroupName = self:GetName()
|
||||
return UTILS.DeepCopy( _DATABASE:GetGroupTemplate( GroupName ) )
|
||||
local template=_DATABASE:GetGroupTemplate( GroupName )
|
||||
if template then
|
||||
return UTILS.DeepCopy( template )
|
||||
end
|
||||
return nil
|
||||
end
|
||||
|
||||
--- Returns the group template route.points[] (the waypoints) from the global _DATABASE object (an instance of @{Core.Database#DATABASE}).
|
||||
|
||||
Reference in New Issue
Block a user