Hi All,

Flying the FW190 with a plib build, I noticed that the prop model isn't 
disappearing above 1000rpm as expected, which is very distracting on my LCD 
monitor with a refresh rather of 60Hz.

The patch included below re-orders the select animation so that that the select 
happens after the rotate, which solves the problem. As I recall, there are 
plib-specific scene-graph ordering issues which cause this behaviour.

If the FW190 is being included in the base package, I suggest that this patch 
should be applied before the release.

-Stuart


Index: FW190-A8.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/fw190/Models/FW190-A8.xml,v
retrieving revision 1.2
diff -u -r1.2 FW190-A8.xml
--- FW190-A8.xml    10 Dec 2007 19:37:53 -0000    1.2
+++ FW190-A8.xml    12 Dec 2007 16:34:01 -0000
@@ -284,16 +284,6 @@
   </axis>
  </animation>
 <!--Propeller -->
- <animation>
-  <type>select</type>
-  <object-name>Prop</object-name>
-  <condition>
-   <less-than>
-    <property>engines/engine[0]/rpm</property>
-    <value>1000</value>
-   </less-than>
-  </condition>
- </animation>
 <animation>
   <type>spin</type>
   <object-name>prophub</object-name>
@@ -311,7 +301,17 @@
    <z>0.0</z>
   </axis>
  </animation>
-<animation>
+ <animation>
+  <type>select</type>
+  <object-name>Prop</object-name>
+  <condition>
+   <less-than>
+    <property>engines/engine[0]/rpm</property>
+    <value>1000</value>
+   </less-than>
+  </condition>
+ </animation>
+ <animation>
   <type>spin</type>
   <object-name>radiator</object-name>
     <property>engines/engine[0]/rpm</property>





      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com


-------------------------------------------------------------------------
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