From: mfranz Date: Sun, 12 Mar 2006 18:56:48 +0000 (+0000) Subject: Better use a node that is very clearly not used by other services X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=bd1f192dc49c163a7c5df1a35dd8e778ca39e7f0;hp=b62f24105102581f83da485c1bee95d46f873790;p=simgear.git Better use a node that is very clearly not used by other services (e.g. animations). The data class doesn't mind. --- diff --git a/simgear/scene/model/model.cxx b/simgear/scene/model/model.cxx index e910bfc7..e7db0824 100644 --- a/simgear/scene/model/model.cxx +++ b/simgear/scene/model/model.cxx @@ -339,7 +339,7 @@ sgLoad3DModel( const string &fg_root, const string &path, } if (data) { - model->setUserData(data); + alignmainmodel->setUserData(data); data->modelLoaded(path, &props, model); } // Load animations