]> git.mxchange.org Git - flightgear.git/commitdiff
Debug message about loaded AI models.
authorThorstenB <brehmt@gmail.com>
Sun, 15 Jul 2012 08:15:10 +0000 (10:15 +0200)
committerThorstenB <brehmt@gmail.com>
Sun, 15 Jul 2012 08:15:53 +0000 (10:15 +0200)
src/AIModel/AIBase.cxx

index 105d244c755a17741cb712858031a8f46d4015e6..90bf34f4d3cfb17dfe604988dfe365ccc0fa2751 100644 (file)
@@ -350,11 +350,10 @@ bool FGAIBase::init(bool search_in_AI_path)
         aip.setVisible(true);
         invisible = false;
         globals->get_scenery()->get_scene_graph()->addChild(aip.getSceneGraph());
-
-        // Get the sound-path tag from the configuration file and store it
-        // in the property tree.
         _initialized = true;
 
+        SG_LOG(SG_AI, SG_DEBUG, "AIBase: Loaded model " << model_path);
+
     } else if (!model_path.empty()) {
         SG_LOG(SG_AI, SG_WARN, "AIBase: Could not load model " << model_path);
         // not properly installed...