[Flightgear-devel] Heads up: bugfix with some impact (probably)

2011-01-17 Thread Torsten Dreyer
Hi all, I just pushed a bugfix to SGMisc::normalizePeriodic(min,max,value). The method allways returned zero for values less than min instead of normalizing these values into the given period. This function is used SGGeodesy::advanceRadM() SGGeodesy::radialIntersection() which are probably

Re: [Flightgear-devel] Heads up: bugfix with some impact (probably)

2011-01-17 Thread ThorstenB
On Mon, Jan 17, 2011 at 8:07 PM, Torsten Dreyer wrote: Hi all, I just pushed a bugfix to SGMisc::normalizePeriodic(min,max,value). The method allways returned zero for values less than min instead of normalizing these values into the given period. Excellent catch! As so often: when complex

Re: [Flightgear-devel] Heads up: bugfix with some impact (probably)

2011-01-17 Thread James Turner
On 17 Jan 2011, at 19:07, Torsten Dreyer wrote: If you ever experienced some unexpected bearings or headings, this might have been the reason for it. I think this should also go into the 2.2.0 branch - if I only knew how to... Yes, definitely - good catch. James