Frederic: Include FGPanelNode in the display list generation process.

This commit is contained in:
ehofman
2004-10-10 18:43:11 +00:00
parent 1697cb3b1a
commit d769a9936b

View File

@@ -271,10 +271,6 @@ sgLoad3DModel( const string &fg_root, const string &path,
throw sg_exception("Failed to load 3D model");
}
if ( model != 0 ) {
makeDList( model );
}
// Set up the alignment node
ssgTransform * alignmainmodel = new ssgTransform;
if ( load_panel == 0 )
@@ -336,6 +332,10 @@ sgLoad3DModel( const string &fg_root, const string &path,
sim_time_sec);
}
if ( model != 0 ) {
makeDList( model );
}
return alignmainmodel;
}