Adding the panel was a step too far for Linux, causing a segfault.

This commit is contained in:
ehofman
2004-10-10 19:38:46 +00:00
parent 7d18f9bdde
commit 41eed484c1

View File

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