1
0
Fork 0

Debug message about loaded AI models.

This commit is contained in:
ThorstenB 2012-07-15 10:15:10 +02:00
parent 735b6d43ec
commit df4ccc3b88

View 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...