Hi all, I just noticed I was getting a Nasal error with a YASim aircraft I was working on that had only three fuel tanks. The error is:
Nasal runtime error: props.setDoubleValue() with non-number at /usr/local/share/FlightGear/Nasal/props.nas, line 26 called from: /usr/local/share/FlightGear/Nasal/fuel.nas, line 93 called from: /usr/local/share/FlightGear/Nasal/fuel.nas, line 125 I also got the same error when I tried an aircraft that has only one fuel tank. I don't think that the problem is actually with the Nasal scripts but with something else that creates four incomplete fuel tank nodes by default at start-up. If there are < 4 fuel tank elements in the YASim config the last tank's details are left incomplete and I think that this is what the Nasal script is borking on. With a zero capacity dummy tank in the YASim config the problem doesn't occur. I had a quick look in options.xml & preferences.xml, aw well as my .fgfsrc but didn't find anything - can't think of anywhere else to look:( LeeE ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel