From a611b7008729ef12de7022a3234adf8f5cbb50a7 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 20 Mar 2004 22:41:40 +0000 Subject: [PATCH] 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. --- simgear/scene/model/location.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/scene/model/location.cxx b/simgear/scene/model/location.cxx index 8c8e9f98..db6d7b2e 100644 --- a/simgear/scene/model/location.cxx +++ b/simgear/scene/model/location.cxx @@ -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), -- 2.39.5