From: mfranz Date: Sun, 12 Mar 2006 10:09:34 +0000 (+0000) Subject: activate model load/unload callback again. It turned out *not* to be the X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b62f24105102581f83da485c1bee95d46f873790;p=simgear.git activate model load/unload callback again. It turned out *not* to be the cause for the MP crashes -- the same crashes did still occur without it. --- diff --git a/simgear/scene/model/model.cxx b/simgear/scene/model/model.cxx index dd8636af..e910bfc7 100644 --- a/simgear/scene/model/model.cxx +++ b/simgear/scene/model/model.cxx @@ -339,9 +339,8 @@ sgLoad3DModel( const string &fg_root, const string &path, } if (data) { - //data->modelLoaded(path, &props, model); - //model->setUserData(data); - delete data; + model->setUserData(data); + data->modelLoaded(path, &props, model); } // Load animations set ignore_branches;