1
0
Fork 0

[JSBSim] Supplement to the fix for the initialization issue.

One of the output node was lost in the process. Tested it myself with the Space Shuttle: this additional commit makes the error disappear.
This commit is contained in:
Bertrand Coconnier 2019-11-17 19:25:56 +01:00
parent 9782d9e65a
commit 2f5edf6558

View file

@ -270,8 +270,10 @@ void FGFCSComponent::bind(Element* el)
FGPropertyNode* node = PropertyManager->GetNode(tmp, true);
if (node)
if (node) {
node->setDoubleValue(Output);
OutputNodes.push_back(node);
}
else {
cerr << el->ReadFrom()
<< "Could not get or create property " << tmp << endl;