Hi!

In case the mysterious developer of the Concorde is reading the list,
here are 2 little patches to fix the following problems:

1) The VOR needles are off by the magnetic variation (should use true
heading in the animation, because the /instrumentation/nav/heading-deg
is also true heading)
2) the fuel xml parser is looking for "connection" tags, but the xml
has "connect" tags. Patch changes the parser, because it is just a
single replace there.  This bug caused eg. engine cross-feed to fail
(had to land on 2 engines, lol)

Cheers,
Csaba/Jester
Index: Panels/Instruments/concorde-compass-vor.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Concorde/Panels/Instruments/concorde-compass-vor.xml,v
retrieving revision 1.6
diff -u -r1.6 concorde-compass-vor.xml
--- Panels/Instruments/concorde-compass-vor.xml	15 Jan 2007 16:57:58 -0000	1.6
+++ Panels/Instruments/concorde-compass-vor.xml	21 Aug 2009 22:20:19 -0000
@@ -283,7 +283,7 @@
      </transformation>
      <transformation>
       <type>rotation</type>
-      <property>/orientation/heading-magnetic-deg</property>
+      <property>/orientation/heading-deg</property>
       <min>0.0</min>
       <max>360.0</max>
       <scale>-1.0</scale>
@@ -362,7 +362,7 @@
      </transformation>
      <transformation>
       <type>rotation</type>
-      <property>/orientation/heading-magnetic-deg</property>
+      <property>/orientation/heading-deg</property>
       <min>0.0</min>
       <max>360.0</max>
       <scale>-1.0</scale>
@@ -441,7 +441,7 @@
      </transformation>
      <transformation>
       <type>rotation</type>
-      <property>/orientation/heading-magnetic-deg</property>
+      <property>/orientation/heading-deg</property>
       <min>0.0</min>
       <max>360.0</max>
       <scale>-1.0</scale>
Index: Nasal/Concorde-fuelXML.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Concorde/Nasal/Concorde-fuelXML.nas,v
retrieving revision 1.3
diff -u -r1.3 Concorde-fuelXML.nas
--- Nasal/Concorde-fuelXML.nas	12 Feb 2009 03:37:57 -0000	1.3
+++ Nasal/Concorde-fuelXML.nas	21 Aug 2009 22:20:18 -0000
@@ -54,7 +54,7 @@
         me.components.add_circuit( children[i] );
    }
 
-   children = me.config.getChildren("connection");
+   children = me.config.getChildren("connect");
    nb_children = size( children );
    for( i = 0; i < nb_children; i = i+1 ) {
         me.connections.add_connect( children[i] );
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to