1
0
Fork 0

Work-around a JSBSim reset issue following the sync.

Thanks to Ron Jensen for the catch. I've added a comment so we know to update this on the next JSBSim sync.
This commit is contained in:
James Turner 2013-01-28 12:54:21 +00:00
parent ead3be2098
commit 5826cea0a8

View file

@ -780,11 +780,13 @@ void FGFunction::bind(void)
}
}
if (PropertyManager->HasNode(tmp)) {
cout << "Property " << tmp << " has already been successfully bound (late)." << endl;
} else {
// JMT commenting out on 2013/01/28 on advice of jentron - temporary fix
// for in-flux JSBSim property tie changes.
// if (PropertyManager->HasNode(tmp)) {
// cout << "Property " << tmp << " has already been successfully bound (late)." << endl;
// } else {
PropertyManager->Tie( tmp, this, &FGFunction::GetValue);
}
// }
}
}