Revert "Fix issue 2537, re-enable the wind interpolation when live data is (temporarily) unavailable."
This reverts commit 0c07fce69f
.
This commit is contained in:
parent
151486219d
commit
f0737a8c40
1 changed files with 2 additions and 20 deletions
|
@ -23,24 +23,6 @@
|
||||||
-->
|
-->
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
|
|
||||||
<!--
|
|
||||||
Normally /environment/config/enabled is disabled when Advanced Weather is
|
|
||||||
selected. But In case live weather fails values can get out of control.
|
|
||||||
So re-enable the interpolators is such case.
|
|
||||||
https://sourceforge.net/p/flightgear/codetickets/2537/
|
|
||||||
-->
|
|
||||||
<logic>
|
|
||||||
<input>
|
|
||||||
<or>
|
|
||||||
<property>/environment/config/enabled</property>
|
|
||||||
<not>
|
|
||||||
<property>/environment/metar/valid</property>
|
|
||||||
</not>
|
|
||||||
</or>
|
|
||||||
</input>
|
|
||||||
<output>/environment/config/livedata-disabled</output>
|
|
||||||
</logic>
|
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<name>EnvironmentInterpolator:temperature-sea-level-degc</name>
|
<name>EnvironmentInterpolator:temperature-sea-level-degc</name>
|
||||||
<enable>
|
<enable>
|
||||||
|
@ -101,7 +83,7 @@
|
||||||
<filter>
|
<filter>
|
||||||
<name>EnvironmentInterpolator:wind-from-north</name>
|
<name>EnvironmentInterpolator:wind-from-north</name>
|
||||||
<enable>
|
<enable>
|
||||||
<property>/environment/config/livedata-disabled</property>
|
<property>/environment/config/enabled</property>
|
||||||
</enable>
|
</enable>
|
||||||
<input>
|
<input>
|
||||||
<condition>
|
<condition>
|
||||||
|
@ -118,7 +100,7 @@
|
||||||
<filter>
|
<filter>
|
||||||
<name>EnvironmentInterpolator:wind-from-east</name>
|
<name>EnvironmentInterpolator:wind-from-east</name>
|
||||||
<enable>
|
<enable>
|
||||||
<property>/environment/config/livedata-disabled</property>
|
<property>/environment/config/enabled</property>
|
||||||
</enable>
|
</enable>
|
||||||
<input>
|
<input>
|
||||||
<condition>
|
<condition>
|
||||||
|
|
Loading…
Add table
Reference in a new issue