mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Tasking trace optimizations
This commit is contained in:
@@ -306,12 +306,12 @@ function BASE:GetParent( Child, FromClass )
|
||||
Parent = nil
|
||||
else
|
||||
|
||||
self:E({FromClass = FromClass})
|
||||
self:E({Child = Child.ClassName})
|
||||
--self:E({FromClass = FromClass})
|
||||
--self:E({Child = Child.ClassName})
|
||||
if FromClass then
|
||||
while( Child.ClassName ~= "BASE" and Child.ClassName ~= FromClass.ClassName ) do
|
||||
Child = getParent( Child )
|
||||
self:E({Child.ClassName})
|
||||
--self:E({Child.ClassName})
|
||||
end
|
||||
end
|
||||
if Child.ClassName == 'BASE' then
|
||||
@@ -320,7 +320,7 @@ function BASE:GetParent( Child, FromClass )
|
||||
Parent = getParent( Child )
|
||||
end
|
||||
end
|
||||
self:E({Parent.ClassName})
|
||||
--self:E({Parent.ClassName})
|
||||
return Parent
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user