Re: [Flightgear-devel] altimeter patch

2008-11-28 Thread Csaba Halász
On Fri, Nov 28, 2008 at 6:57 AM, Syd <[EMAIL PROTECTED]> wrote: > > The reason I would like this added , once I find a solution to the listeners > writing to each other You could compare the value already in the property to the newly calculated one, and only update if they differ (possibly allowin

Re: [Flightgear-devel] altimeter patch

2008-11-27 Thread Syd
I'm submitting another patch for comments / suggestions. I've added a listener to the setting-inhg property , and removed the settings check in the update loop , it is updated by the listener ... But trying to add a listener to the kpa property to convert and write to setting-inhg (also with a l

Re: [Flightgear-devel] altimeter patch

2008-11-27 Thread Syd
John Denker wrote: > On 11/27/2008 12:23 PM, Syd wrote: > > >>Since I've had to add a nasal inHG to Kpa conversion to most >> altimeters I've added , I decided maybe its something altimeter.cxx >> should do , so here is a small patch to do that. Could someone check and >> commit please ? >>

Re: [Flightgear-devel] altimeter patch

2008-11-27 Thread John Denker
On 11/27/2008 12:23 PM, Syd wrote: >Since I've had to add a nasal inHG to Kpa conversion to most > altimeters I've added , I decided maybe its something altimeter.cxx > should do , so here is a small patch to do that. Could someone check and > commit please ? This seems to be an unhappy medi

[Flightgear-devel] altimeter patch

2008-11-27 Thread Syd
Hello , Since I've had to add a nasal inHG to Kpa conversion to most altimeters I've added , I decided maybe its something altimeter.cxx should do , so here is a small patch to do that. Could someone check and commit please ? Thanks . Index: altimeter.cxx ==