Thank you pointing this, I haven't seen it. Here is the patch to correct the mistake.

Thanks in advance to commit it.

best regards
seb

Victhor Foster wrote :
Well, since this was a GPS-related thread, I decided to post this here instead 
of creating another thread :-)
The zkv500's "Turnpoint" screen works properly now. However, the navigation 
display won't show the distance to the waypoint.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Index: Aircraft/Instruments-3d/zkv500/MainScreens.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/zkv500/MainScreens.nas,v
retrieving revision 1.9
diff -r1.9 MainScreens.nas
223c223
< 	    dist * dist_conv[0][dist_unit],
---
> 	    me.waypoint.getNode("distance-nm",1).getValue() * dist_conv[0][dist_unit],
227c227
< 	    me.waypoint.getNode("course-error-nm").getValue() * dist_conv[0][dist_unit],
---
> 	    dist * dist_conv[0][dist_unit],
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to