From b62f24105102581f83da485c1bee95d46f873790 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 12 Mar 2006 10:09:34 +0000 Subject: [PATCH] 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. --- simgear/scene/model/model.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.5