-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

If you see a tu154 multiplayer from your own aircraft's cockpit view it will
lack fuselage, if you change to external view you will see the fuselage. This
was caused by tu154 using absolute property paths. Here is a patch to fix this.


Regards,

Arvid Norlander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHWnXvWmK6ng/aMNkRCsgkAKCY/ONhNquy1P4qminqYyuLo/kWXgCggXY2
5kxZWjRYi6bzAC6p+A65eO8=
=TLW0
-----END PGP SIGNATURE-----
Index: Models/main-ai.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/tu154/Models/main-ai.xml,v
retrieving revision 1.1
diff -u -p -r1.1 main-ai.xml
--- Models/main-ai.xml  1 Jul 2004 14:09:32 -0000       1.1
+++ Models/main-ai.xml  8 Dec 2007 10:43:14 -0000
@@ -6,7 +6,7 @@
  <animation>
   <type>rotate</type>
   <object-name>ball</object-name>
-  <property>/orientation/roll-deg</property>
+  <property>orientation/roll-deg</property>
   <center>
    <x-m>-0.042</x-m>
    <y-m>0</y-m>
@@ -22,7 +22,7 @@
  <animation>
   <type>rotate</type>
   <object-name>ball</object-name>
-  <property>/orientation/pitch-deg</property>
+  <property>orientation/pitch-deg</property>
   <center>
    <x-m>-0.042</x-m>
    <y-m>0</y-m>
@@ -38,7 +38,7 @@
  <animation>
   <type>rotate</type>
   <object-name>rollarrow</object-name>
-  <property>/orientation/roll-deg</property>
+  <property>orientation/roll-deg</property>
   <axis>
    <x>1</x>
    <y>0</y>
Index: Models/rud1.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/tu154/Models/rud1.xml,v
retrieving revision 1.1
diff -u -p -r1.1 rud1.xml
--- Models/rud1.xml     1 Jul 2004 14:09:32 -0000       1.1
+++ Models/rud1.xml     8 Dec 2007 10:43:14 -0000
@@ -7,7 +7,7 @@
  <animation>
   <type>rotate</type>
   <object-name>rud</object-name>
-  <property>/controls/engines/engine[0]/throttle</property>
+  <property>controls/engines/engine[0]/throttle</property>
   <factor>36</factor>
   <axis>
    <x>0</x>
Index: Models/rud2.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/tu154/Models/rud2.xml,v
retrieving revision 1.1
diff -u -p -r1.1 rud2.xml
--- Models/rud2.xml     1 Jul 2004 14:09:32 -0000       1.1
+++ Models/rud2.xml     8 Dec 2007 10:43:14 -0000
@@ -7,7 +7,7 @@
  <animation>
   <type>rotate</type>
   <object-name>rud</object-name>
-  <property>/controls/engines/engine[1]/throttle</property>
+  <property>controls/engines/engine[1]/throttle</property>
   <factor>36</factor>
   <axis>
    <x>0</x>
Index: Models/rud3.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/tu154/Models/rud3.xml,v
retrieving revision 1.1
diff -u -p -r1.1 rud3.xml
--- Models/rud3.xml     1 Jul 2004 14:09:32 -0000       1.1
+++ Models/rud3.xml     8 Dec 2007 10:43:14 -0000
@@ -7,7 +7,7 @@
  <animation>
   <type>rotate</type>
   <object-name>rud</object-name>
-  <property>/controls/engines/engine[2]/throttle</property>
+  <property>controls/engines/engine[2]/throttle</property>
   <factor>36</factor>
   <axis>
    <x>0</x>
Index: Models/tu154B.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/tu154/Models/tu154B.xml,v
retrieving revision 1.4
diff -u -p -r1.4 tu154B.xml
--- Models/tu154B.xml   10 Jul 2007 17:10:46 -0000      1.4
+++ Models/tu154B.xml   8 Dec 2007 10:43:15 -0000
@@ -35,7 +35,7 @@ Tupolev 154B-2 model/animation config.
   <condition>
    <not>
     <equals>
-     <property>/sim/current-view/view-number</property>
+     <property>sim/current-view/view-number</property>
      <value>0</value>
     </equals>
    </not>
@@ -1930,7 +1930,7 @@ Tupolev 154B-2 model/animation config.
   <type>select</type>
   <object-name>BeaconFlasher</object-name>
   <condition>
-   <property>/controls/lighting/beacon</property>
+   <property>controls/lighting/beacon</property>
   </condition>
  </animation>
 
@@ -1940,7 +1940,7 @@ Tupolev 154B-2 model/animation config.
   <object-name>RightNavLightOff</object-name>
   <condition>
    <not>
-    <property>/controls/lighting/nav-lights</property>
+    <property>controls/lighting/nav-lights</property>
    </not>
   </condition>
  </animation>
@@ -1950,7 +1950,7 @@ Tupolev 154B-2 model/animation config.
   <object-name>LeftNavLightOn</object-name>
   <object-name>RightNavLightOn</object-name>
   <condition>
-    <property>/controls/lighting/nav-lights</property>
+    <property>controls/lighting/nav-lights</property>
   </condition>
  </animation>
 
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to