Frederic Bouvier:

The message 'Alert: catching up on tile delete queue'
comes from the fact that 48 tiles are scheduled and
added to the cache at startup before the plane location
is initialized. My proposed patch is to initialize
SGLocation with an invalid position and detect this
fact before scheduling tiles. I prefer to do that
rather than testing for lon and lat being 0,0 because
it is a valid position and someone could want to fly
near Accra.
This commit is contained in:
ehofman 2004-03-20 22:41:40 +00:00
parent 757ed2dfe7
commit a611b70087

View File

@ -104,7 +104,7 @@ static void MakeTRANS( sgMat4 dst, const double Theta,
// Constructor
SGLocation::SGLocation( void ):
_dirty(true),
_lon_deg(0),
_lon_deg(-1000),
_lat_deg(0),
_alt_ft(0),
_roll_deg(0),