The first:  In going from version 1.3 to 1.4, Melchior Franz
noted that there was no /velocities/vertical-speed-fpm
property to display, and changed the property referenced to
/velocities/vertical-speed-fps, which does exist.  But the
display should show fpm; so a <scale> parameter is inserted
to make what's displayed feet-per-minute.

The second:  In going from version 1.1 to 1.2, properties with
'[0]' indices had the '[0]' dropped.  But for some reason, a
reference to property dme/indicated-distance-nm[0] got changed
to dme/distance-nm.  In other words, not only did [0] get dropped,
but 'indicated-' got dropped from the property name.  This broke
DME on the 737 -- there is no 'dme/distance-nm' property.  This
patch fixes it back.

Index: pfd2.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/737/Instruments/pfd2.xml,v
retrieving revision 1.4
diff -u -r1.4 pfd2.xml
--- pfd2.xml    13 Dec 2004 20:35:34 -0000      1.4
+++ pfd2.xml    17 Dec 2004 01:51:56 -0000
@@ -353,6 +353,7 @@
      <chunk>
       <type>number-value</type>
       <property>/velocities/vertical-speed-fps</property>
+      <scale>60</scale>
       <format>%6.0f</format>      
      </chunk>
     </chunks>
@@ -387,7 +388,7 @@
     <chunks>
      <chunk>
       <type>number-value</type>
-      <property>/instrumentation/dme/distance-nm</property>
+      <property>/instrumentation/dme/indicated-distance-nm</property>
       <format>%6.1f</format>
      </chunk>
     </chunks>


-- 
Chris Metzler                   [EMAIL PROTECTED]
                (remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear

Attachment: pgph5hjqoBKHh.pgp
Description: PGP signature

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to