Re: [Flightgear-devel] an idea about dialog-apply command (was: Patch for random system failures)

2009-02-20 Thread Csaba Halász
On Sat, Feb 21, 2009 at 2:39 AM, Sébastien MARQUE wrote: > > no problem. I've attached a nasal script to put in whatever aircraft you > want. In this script you'll find several listeners linked to several > properties that can be modified using instrument-failures.xml or > system-failures.xml. > >

Re: [Flightgear-devel] an idea about dialog-apply command (was: Patch for random system failures)

2009-02-20 Thread Sébastien MARQUE
Hi Csaba, no problem. I've attached a nasal script to put in whatever aircraft you want. In this script you'll find several listeners linked to several properties that can be modified using instrument-failures.xml or system-failures.xml. Then open the Equipment -> Instrument failures dialog

Re: [Flightgear-devel] an idea about dialog-apply command (was: Patch for random system failures)

2009-02-20 Thread Csaba Halász
On Fri, Feb 20, 2009 at 8:46 AM, Sébastien MARQUE wrote: > > actually I already use a listener that only fires then the value really > change. I've looked in Nasal scripting wiki page and globals.nas to be > sure, and tried the other possible values for the fourth argument of > setlistener, with n

Re: [Flightgear-devel] an idea about dialog-apply command (was: Patch for random system failures)

2009-02-20 Thread Sébastien MARQUE
Hi, attached the patch to apply only the changed values in a dialog box using dialog-apply fgcommand. Now only the listener(s) associated with the changed value are fired. It works fine here, and I think it could be useful to apply it. Thanks a lot regards seb Sébastien MARQUE a écrit : H

Re: [Flightgear-devel] Patch for positioned.cxx

2009-02-20 Thread Frederic Bouvier
- "黄志勇" a écrit : > Sorry, in Microsoft Windows, there have not patch tool. I just can do > like this. If you use cvs : cvs diff -u my_file.cxx Or use TortoiseCVS to do the diff -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery - album photo http://fgsd.s

[Flightgear-devel] Patch for positioned.cxx

2009-02-20 Thread 黄志勇
When compiling source code with MSVC 2005 in debug model, below two rows have some problem. === two rows have problem === l = lower_bound(it->second.begin(), it->second.end(), aFilter->minType(), LowerLimitOfType()); u = upper_bound(l, it->second.end(), aFilter->maxType(), Lo