Alex,

It appeared that my last version of terrasync was not up to the
standards I asked for your version. It should now work as I was first
thinking. I also added a cache with an age to retry tiles already
downloaded but not more often than once every 10 minutes.

Regards,
-Fred

Alex Perry a écrit :
> Thank you, those are both useful bug reports with the approach I took.
>  Let me come up with clean fixes for both of them and then get back to
> you.
>
> On Wed, Feb 4, 2009 at 11:57 PM, Frederic Bouvier <[email protected]> wrote:
>   
>> Hi Alex,
>>
>> your version compiles under windows, but needs a continuous feed of messages 
>> to work. So it doesn't work with the new fgrun button that send a positional 
>> message to get a chunk of scenery without having to start the simulator. 
>> Moreover, I also thought about a tile cache that will prevent refetching an 
>> already downloaded tiles, but it would need to stop terrasync to have 
>> updates ( objects are added continuously to the repository ) or implement a 
>> sophisticated aging mechanism.
>>
>> So, in other words, I am not keen to commit your changes as they are.
>>
>> -Fred
>>
>> ----- "Alex Perry" a écrit :
>>
>>     
>>> Following up on Fred's improvement to maintain a queue of pending
>>> tile
>>> syncs, the attached version extends the deque to a priority ordered
>>> list and also ensures we never repeat a sync that's already just been
>>> performed.  Consequently, we're now as responsive as possible to the
>>> location change menu item.
>>>
>>> I'd appreciate if someone could check that this compiles under
>>> Windows
>>> and then commit.
>>>       


-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/   Photo gallery
http://fgsd.sourceforge.net/    FlightGear Scenery Designer


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to