]> git.mxchange.org Git - simgear.git/commitdiff
Better use a node that is very clearly not used by other services
authormfranz <mfranz>
Sun, 12 Mar 2006 18:56:48 +0000 (18:56 +0000)
committermfranz <mfranz>
Sun, 12 Mar 2006 18:56:48 +0000 (18:56 +0000)
(e.g. animations). The data class doesn't mind.

simgear/scene/model/model.cxx

index e910bfc766c39da9c11c696af0a74f0ed201b1e7..e7db082468bae322355a375e5478ddf842cc273f 100644 (file)
@@ -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