diff --git a/simgear/scene/model/model.cxx b/simgear/scene/model/model.cxx index fe3c5c5b..dd8636af 100644 --- a/simgear/scene/model/model.cxx +++ b/simgear/scene/model/model.cxx @@ -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 ignore_branches;