Skip to content

Commit

Permalink
Inherit from model-combined instead of model-combined-deferred, fix a…
Browse files Browse the repository at this point in the history
…utopilot GS capture bug
  • Loading branch information
TheFGFSEagle committed Apr 14, 2022
1 parent 465b2ff commit 936ba22
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 38 deletions.
2 changes: 1 addition & 1 deletion Models/Interior/Panel/Controls/yoke/yoke-normalmap.eff
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<name>yoke-normalmap</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<inherits-from>Effects/model-combined</inherits-from>
<parameters>
<normalmap-enabled type="int">1</normalmap-enabled>
<texture n="2">
Expand Down
64 changes: 32 additions & 32 deletions Models/Interior/Panel/Controls/yoke/yoke-pilot.ac
Original file line number Diff line number Diff line change
Expand Up @@ -203,69 +203,69 @@ data 12
Cylinder.001
crease 40.0
numvert 64
-0.075 0 -0.015
-0.08 0 -0.015
0.18 -0 -0.015
-0.075 -0.00293 -0.01471
-0.08 -0.00293 -0.01471
0.18 -0.00293 -0.01471
-0.075 -0.00574 -0.01386
-0.08 -0.00574 -0.01386
0.18 -0.00574 -0.01386
-0.075 -0.00833 -0.01247
-0.08 -0.00833 -0.01247
0.18 -0.00833 -0.01247
-0.075 -0.01061 -0.01061
-0.08 -0.01061 -0.01061
0.18 -0.01061 -0.01061
-0.075 -0.01247 -0.00833
-0.08 -0.01247 -0.00833
0.18 -0.01247 -0.00833
-0.075 -0.01386 -0.00574
-0.08 -0.01386 -0.00574
0.18 -0.01386 -0.00574
-0.075 -0.01471 -0.00293
-0.08 -0.01471 -0.00293
0.18 -0.01471 -0.00293
-0.075 -0.015 -0
-0.08 -0.015 -0
0.18 -0.015 -0
-0.075 -0.01471 0.00293
-0.08 -0.01471 0.00293
0.18 -0.01471 0.00293
-0.075 -0.01386 0.00574
-0.08 -0.01386 0.00574
0.18 -0.01386 0.00574
-0.075 -0.01247 0.00833
-0.08 -0.01247 0.00833
0.18 -0.01247 0.00833
-0.075 -0.01061 0.01061
-0.08 -0.01061 0.01061
0.18 -0.01061 0.01061
-0.075 -0.00833 0.01247
-0.08 -0.00833 0.01247
0.18 -0.00833 0.01247
-0.075 -0.00574 0.01386
-0.08 -0.00574 0.01386
0.18 -0.00574 0.01386
-0.075 -0.00293 0.01471
-0.08 -0.00293 0.01471
0.18 -0.00293 0.01471
-0.075 0 0.015
-0.08 0 0.015
0.18 0 0.015
-0.075 0.00293 0.01471
-0.08 0.00293 0.01471
0.18 0.00293 0.01471
-0.075 0.00574 0.01386
-0.08 0.00574 0.01386
0.18 0.00574 0.01386
-0.075 0.00833 0.01247
-0.08 0.00833 0.01247
0.18 0.00833 0.01247
-0.075 0.01061 0.01061
-0.08 0.01061 0.01061
0.18 0.01061 0.01061
-0.075 0.01247 0.00833
-0.08 0.01247 0.00833
0.18 0.01247 0.00833
-0.075 0.01386 0.00574
-0.08 0.01386 0.00574
0.18 0.01386 0.00574
-0.075 0.01471 0.00293
-0.08 0.01471 0.00293
0.18 0.01471 0.00293
-0.075 0.015 -0
-0.08 0.015 -0
0.18 0.015 -0
-0.075 0.01471 -0.00293
-0.08 0.01471 -0.00293
0.18 0.01471 -0.00293
-0.075 0.01386 -0.00574
-0.08 0.01386 -0.00574
0.18 0.01386 -0.00574
-0.075 0.01247 -0.00833
-0.08 0.01247 -0.00833
0.18 0.01247 -0.00833
-0.075 0.01061 -0.01061
-0.08 0.01061 -0.01061
0.18 0.01061 -0.01061
-0.075 0.00833 -0.01247
-0.08 0.00833 -0.01247
0.18 0.00833 -0.01247
-0.075 0.00574 -0.01386
-0.08 0.00574 -0.01386
0.18 0.00574 -0.01386
-0.075 0.00293 -0.01471
-0.08 0.00293 -0.01471
0.18 0.00293 -0.01471
numsurf 32
SURF 0X10
Expand Down
Binary file modified Models/Interior/Panel/Controls/yoke/yoke-pilot.blend
Binary file not shown.
22 changes: 17 additions & 5 deletions Systems/if-550a.xml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@

<logic>
<name>Clear GS</name>
<debug>true</debug>
<debug>false</debug>
<enable>
<condition>
<and>
Expand All @@ -444,16 +444,28 @@
<property>/autopilot/if-550a/nav-source</property>
<value>0</value>
</equals>
<property>/instrumentation/nav/has-gs</property>
<property>/instrumentation/nav/gs-in-range</property>
<or>
<not>
<property>/instrumentation/nav/has-gs</property>
</not>
<not>
<property>/instrumentation/nav/gs-in-range</property>
</not>
</or>
</and>
<and>
<equals>
<property>/autopilot/if-550a/nav-source</property>
<value>1</value>
</equals>
<property>/instrumentation/nav[1]/has-gs</property>
<property>/instrumentation/nav[1]/gs-in-range</property>
<or>
<not>
<property>/instrumentation/nav[1]/has-gs</property>
</not>
<not>
<property>/instrumentation/nav[1]/gs-in-range</property>
</not>
</or>
</and>
</or>
</and>
Expand Down

0 comments on commit 936ba22

Please sign in to comment.