On Sat, Jan 29, 2011 at 9:37 PM, Arnt Karlsen <[email protected]> wrote:
> On Sat, 29 Jan 2011 02:15:41 +0100, Arnt wrote in message
> <[email protected]>:
>
>> ..and, what _is_ this view?
>> https://github.com/gasguru/flightgearthings/raw/master/ATI-nite_warriors/radeon-fgfs-screen-002.png
>
> ..found this wee snippet in my now context-trimmed console output:
> Nasal runtime error: non-objects have no members
> at /home/arnt/FG-git/install/fgfs/bin/../fgdata//Nasal/view.nas, line
> 110 called from: /input/keyboard/key[118]/binding, line 1
>
> ..line 110 is a comment, that shouldn't call a view?
> arnt@celsius:~/FG-git$ nl install/fgfs/fgdata/Nasal/view.nas |less
> ...
> 109 ##
> 110 # Standard view "slew" rate, in degrees/sec.
> 111 #
> 112 var VIEW_PAN_RATE = 60;
User error. "nl" does not count empty lines by default, but nasal
does. In any case, "less" is perfectly capable of displaying line
numbers:
$ less -N view.nas
...
108 # And pop up a nice reminder
109 var popup=getprop("/sim/view-name-popup");
110 if(popup == 1 or popup==nil)
gui.popupTip(views[n].getNode("name").getValue());
So, presumably you have encountered a view that doesn't have a name.
--
Csaba/Jester
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel