[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:
parent
9782d9e65a
commit
2f5edf6558
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue