]> git.mxchange.org Git - flightgear.git/commitdiff
Work-around a JSBSim reset issue following the sync.
authorJames Turner <zakalawe@mac.com>
Mon, 28 Jan 2013 12:54:21 +0000 (12:54 +0000)
committerJames Turner <zakalawe@mac.com>
Mon, 28 Jan 2013 12:54:21 +0000 (12:54 +0000)
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

index dc1b830dad455eac0731446a058a3431638fee19..0cad19512ec6b337c6ff6b77eb64a261e337879e 100755 (executable)
@@ -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);
-    }
//   }
   }
 }