]> git.mxchange.org Git - flightgear.git/commitdiff
FGNasalModelData: also log path of model.
authorThomas Geymayer <tomgey@gmail.com>
Thu, 17 Oct 2013 11:29:38 +0000 (13:29 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 17 Oct 2013 11:29:38 +0000 (13:29 +0200)
src/Scripting/NasalModelData.cxx

index 02e4d0ad5302fd3c2db248d54893e5743e054596..4d0bda95cb55ddf17087d00c85427b840613e17e 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <simgear/math/SGMath.hxx>
 #include <simgear/nasal/cppbind/Ghost.hxx>
+#include <simgear/scene/util/OsgDebug.hxx>
 #include <simgear/scene/util/OsgMath.hxx>
 #include <simgear/debug/logstream.hxx>
 
@@ -84,7 +85,9 @@ FGNasalModelData::FGNasalModelData( SGPropertyNode *root,
   (
     SG_NASAL,
     SG_INFO,
-    "New model with attached script(s) (branch = " << branch << ")"
+    "New model with attached script(s) "
+    "(branch = " << branch << ","
+    " path = " << simgear::getNodePathString(branch) << ")"
   );
 }