From: James Turner Date: Mon, 28 Jan 2013 12:54:21 +0000 (+0000) Subject: Work-around a JSBSim reset issue following the sync. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5826cea0a832864d0c61fced20288f687578d4b1;p=flightgear.git 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. --- diff --git a/src/FDM/JSBSim/math/FGFunction.cpp b/src/FDM/JSBSim/math/FGFunction.cpp index dc1b830da..0cad19512 100755 --- a/src/FDM/JSBSim/math/FGFunction.cpp +++ b/src/FDM/JSBSim/math/FGFunction.cpp @@ -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); - } + // } } }