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:
parent
e06e9ccd1e
commit
5656526d83
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue