Re: [Flightgear-devel] route manager bug (simgear)

2007-04-06 Thread Melchior FRANZ
* Csaba Halász -- Friday 06 April 2007: Inserting and deleting waypoints not at the end of the route messes up leg distances. That's probably a bug that I introduced. I'll adopt the patch and apply after testing. Thanks. m.

[Flightgear-devel] route manager bug (simgear)

2007-04-05 Thread Csaba Halász
Reported by AnMaster on IRC ;) Inserting and deleting waypoints not at the end of the route messes up leg distances. Beefed up the test prog a little, see patch #1. Result (have cut out the irrelevant part): Route dump: Init #0 Start (0, 0) @0 dist: 0 #1 1 (0, 1) @0 dist: 1