From 5826cea0a832864d0c61fced20288f687578d4b1 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 28 Jan 2013 12:54:21 +0000 Subject: [PATCH] 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. --- src/FDM/JSBSim/math/FGFunction.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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); - } + // } } }