PreLoad and PostLoad also from a separate file.
This commit is contained in:
parent
30e535bc7b
commit
7af1f496e8
1 changed files with 2 additions and 2 deletions
|
@ -318,7 +318,7 @@ bool FGAerodynamics::Load(Element *element)
|
||||||
document = element;
|
document = element;
|
||||||
}
|
}
|
||||||
|
|
||||||
FGModel::Load(element); // Perform base class Pre-Load
|
FGModel::Load(document); // Perform base class Pre-Load
|
||||||
|
|
||||||
DetermineAxisSystem(); // Detemine if Lift/Side/Drag, etc. is used.
|
DetermineAxisSystem(); // Detemine if Lift/Side/Drag, etc. is used.
|
||||||
|
|
||||||
|
@ -356,7 +356,7 @@ bool FGAerodynamics::Load(Element *element)
|
||||||
axis_element = document->FindNextElement("axis");
|
axis_element = document->FindNextElement("axis");
|
||||||
}
|
}
|
||||||
|
|
||||||
FGModel::PostLoad(element); // Perform base class Post-Load
|
FGModel::PostLoad(document); // Perform base class Post-Load
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue