This is probably unrelated to the issue at hand, but I have a question
on a piece of code in tilemgr.cxx

....
bool FGTileMgr::scenery_available(double lat, double lon, double range_m)
{
  // sanity check (unfortunately needed!)
  if ( lon <= -180.0 || lon >= 180.0 || lat <= -90.0 || lat >= 90.0 )
    return false;
....

Shouldn't it be...
 if ( lon < -180.0 || lon > 180.0 || lat < -90.0 || lat > 90.0 )
 ... so it won't return false when at the limits of lon/lat?

-Ben

PS. This is my first mailing list submission, hope all goes well.

>
> > > On Tue, Jan 27, 2009 at 6:50 AM, Rob Shearman, Jr. wrote:
> > >
> > >
> > >
> > >
> > > Hello --
> > >
> > > Cruising at FL300 yesterday, and FL310 today, in the Citation-Bravo, I
> > > notice what looks like a scenery tile loading problem (see the
> > > so-named screenshots below, and notice the white areas near the
> > > horizon). However, cruising along, I expected to steadily get closer
> > > to the "edge" of the "tile" shown there, and eventually see the next
> > > one pop into place -- but it seemed more like the "edges" were not
> > > moving, even though the cloud cover texture (and presumably the ground
> > > below) were scrolling past at a reasonable rate.
> > >
> > > This is using Fred's Win32 build from 2009-01-11, and data from same
> > > date. 3D clouds NOT enabled, and METAR as shown in the third shot.
> > >
> > > http://s289.photobucket.com/albums/ll209/rmsjr1974/?action=view&current=tile-loading-prob-1.jpg
> > > http://s289.photobucket.com/albums/ll209/rmsjr1974/?action=view&current=tile-loading-prob-2.jpg
> > > http://s289.photobucket.com/albums/ll209/rmsjr1974/?action=view&current=tile-loading-prob-3.jpg
> > >
> > >
> > > Ground speed was something like 340-350 knots, if that matters to
> > > anyone.
> > >
> > > Cheers,
> > > -R.
> > > Robert M. Shearman, Jr.
> > > Transit Operations Supervisor,
> > > University of Maryland Department of Transportation
> > > also known as rm...@umd.edu

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to