[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);
|
FGPropertyNode* node = PropertyManager->GetNode(tmp, true);
|
||||||
|
|
||||||
if (node)
|
if (node) {
|
||||||
|
node->setDoubleValue(Output);
|
||||||
OutputNodes.push_back(node);
|
OutputNodes.push_back(node);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
cerr << el->ReadFrom()
|
cerr << el->ReadFrom()
|
||||||
<< "Could not get or create property " << tmp << endl;
|
<< "Could not get or create property " << tmp << endl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue