]> git.mxchange.org Git - simgear.git/commitdiff
commenting out Nasal in scenery models for now. This could be responsible
authormfranz <mfranz>
Fri, 10 Mar 2006 22:58:24 +0000 (22:58 +0000)
committermfranz <mfranz>
Fri, 10 Mar 2006 22:58:24 +0000 (22:58 +0000)
for an MP/AI crash. Still investigating.

simgear/scene/model/model.cxx

index fe3c5c5b71f49da2e88d2915a26b2a5ef6d6ba67..dd8636af85656e2dc91688fdcda51ebc9105ef05 100644 (file)
@@ -339,8 +339,9 @@ sgLoad3DModel( const string &fg_root, const string &path,
   }
 
   if (data) {
-    data->modelLoaded(path, &props, model);
-    model->setUserData(data);
+    //data->modelLoaded(path, &props, model);
+    //model->setUserData(data);
+    delete data;
   }
                                 // Load animations
   set<ssgBranch *> ignore_branches;