* Csaba Halász -- Tuesday 23 October 2007: > Attached patches to sg and fg seem to fix it if tested with > Melchior's gctest.nas.
BTW: In this script I used "/input/joysticks/js/axis[3]/binding" as an example for a binding that calls a Nasal function using cmdarg(). But if your axis[3] doesn't do that, then you may have misinterpreted the result of your patch. Not that I've tried it yet ... If I set /input/joysticks/js/axis[3]/binding/script to just 'print("x")', then the refcounter of the <binding> is not increased. When I set it to 'cmdarg()', then it is. (Normally, it's 'controls.throttleAxis()', which calls cmdarg(), too.) And again: that's only a binding, not a listener, so better don't focus too much on listeners. They trigger the problem as well, but the bug must IMHO be upstream. m. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel