]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGUtility.cpp
Encapsulate the interpolstion version of FGEnvironment and fix some bugs
[flightgear.git] / src / FDM / JSBSim / FGUtility.cpp
index 7e275a8e404405038c7961d2585b8adc09307d24..c6d0b201804cd717ff0d4efc98ef27cfd359878e 100644 (file)
@@ -61,6 +61,8 @@ INCLUDES
 #include "FGState.h"
 #include "FGFDMExec.h"
 
+namespace JSBSim {
+
 static const char *IdSrc = "$Id$";
 static const char *IdHdr = ID_UTILITY;
 
@@ -118,5 +120,11 @@ void FGUtility::Debug(int from)
   }
   if (debug_lvl & 16) { // Sanity checking
   }
+  if (debug_lvl & 64) {
+    if (from == 0) { // Constructor
+      cout << IdSrc << endl;
+      cout << IdHdr << endl;
+    }
+  }
+}
 }
-