> It seems, that gui.INIT() is called after glide_slope_tunnel.loop(), which
> calls gui.popupTip() that relies on screenHProp set by gui.INIT().
And here is a patch to make popupTip check that INIT has been called.
Index: gui.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Nasal/gui.nas,v
retrieving revision 1.106
diff -u -p -r1.106 gui.nas
--- gui.nas 21 Oct 2008 21:37:41 -0000 1.106
+++ gui.nas 4 Nov 2008 09:53:04 -0000
@@ -7,6 +7,7 @@
# you lose. :)
#
var popupTip = func(label, delay = nil, override = nil) {
+ screenHProp == nil and return;
var tmpl = props.Node.new({
name : "PopTip", modal : 0, layout : "hbox",
y: screenHProp.getValue() - 140,
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel