From 5656526d8386135b5e8ed19c9bf7948fd59f5f98 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 19 Aug 2006 07:30:52 +0000 Subject: [PATCH] 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. --- src/Scenery/tilemgr.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5