]> git.mxchange.org Git - flightgear.git/commitdiff
remove leftover #include; changed comment
authormfranz <mfranz>
Thu, 9 Mar 2006 11:05:32 +0000 (11:05 +0000)
committermfranz <mfranz>
Thu, 9 Mar 2006 11:05:32 +0000 (11:05 +0000)
src/Scripting/NasalSys.cxx
src/Scripting/NasalSys.hxx

index 36a344ef58e1fe868e390bd191f4e1ab574ba372..7e8cba465a6c478e98918d314fe489dd7378c0d2 100644 (file)
@@ -669,9 +669,9 @@ naRef FGNasalSys::removeListener(int argc, naRef* args)
 
 
 // FGNasalModelData class.  If sgLoad3DModel() is called with a pointer to
-// such a class, then the modelLoaded() function is executed by the loader,
-// and the destructor when the model branch is removed from the scene graph.
-// They are used for calling a model's <load> and <unload> scripts.
+// such a class, then it lets modelLoaded() run the <load> script, and the
+// destructor the <unload> script. The latter happens when the model branch
+// is removed from the scene graph.
 
 void FGNasalModelData::modelLoaded(const string& path, SGPropertyNode *prop,
                                    ssgBranch *)
index c4acd37b73d881aa3b171ab7af7275147369ed9f..8319ea17f9e9140255e2c51f88be02f566c668d9 100644 (file)
@@ -6,8 +6,6 @@
 #include <simgear/nasal/nasal.h>
 #include <simgear/scene/model/model.hxx>
 
-#include <Main/globals.hxx>
-
 #include <map>
 SG_USING_STD(map);