]> git.mxchange.org Git - flightgear.git/commitdiff
as the "Attempting to schedule tiles for bogus lon and lat = (-1000,0)"
authormfranz <mfranz>
Sat, 19 Aug 2006 07:30:52 +0000 (07:30 +0000)
committermfranz <mfranz>
Sat, 19 Aug 2006 07:30:52 +0000 (07:30 +0000)
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.

src/Scenery/tilemgr.cxx

index ccded6593ec32aa012e8b1994874564a050149d2..debc796fe9625e22343b975c5ef97c0f416a902a 100644 (file)
@@ -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,