1
0
Fork 0

as the "Attempting to schedule tiles for bogus lon and lat = (-1000,0)"

bug happens now on a regular basis, and just ignoring it doesn't seem to
cause any harm, just return after it, rather than abort.
This commit is contained in:
mfranz 2006-08-19 07:30:52 +00:00
parent e06e9ccd1e
commit 5656526d83

View file

@ -163,9 +163,10 @@ void FGTileMgr::schedule_needed( double vis, const SGBucket& curr_bucket) {
SG_LOG( SG_TERRAIN, SG_ALERT, SG_LOG( SG_TERRAIN, SG_ALERT,
"Attempting to schedule tiles for bogus lon and lat = (" "Attempting to schedule tiles for bogus lon and lat = ("
<< longitude << "," << latitude << ")" ); << longitude << "," << latitude << ")" );
return; // FIXME
SG_LOG( SG_TERRAIN, SG_ALERT, SG_LOG( SG_TERRAIN, SG_ALERT,
"This is a FATAL error. Exiting!" ); "This is a FATAL error. Exiting!" );
exit(-1); exit(-1);
} }
SG_LOG( SG_TERRAIN, SG_INFO, SG_LOG( SG_TERRAIN, SG_INFO,