From: mfranz Date: Sat, 19 Aug 2006 07:30:52 +0000 (+0000) Subject: as the "Attempting to schedule tiles for bogus lon and lat = (-1000,0)" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5656526d8386135b5e8ed19c9bf7948fd59f5f98;p=flightgear.git 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. --- diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index ccded6593..debc796fe 100644 --- a/src/Scenery/tilemgr.cxx +++ b/src/Scenery/tilemgr.cxx @@ -163,9 +163,10 @@ void FGTileMgr::schedule_needed( double vis, const SGBucket& curr_bucket) { SG_LOG( SG_TERRAIN, SG_ALERT, "Attempting to schedule tiles for bogus lon and lat = (" << longitude << "," << latitude << ")" ); + return; // FIXME SG_LOG( SG_TERRAIN, SG_ALERT, "This is a FATAL error. Exiting!" ); - exit(-1); + exit(-1); } SG_LOG( SG_TERRAIN, SG_INFO,