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;h=bd1f192dc49c163a7c5df1a35dd8e778ca39e7f0;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