This commit is contained in:
Jonathan Redpath 2019-01-22 11:17:41 +00:00
commit 32a39e4474
5 changed files with 57 additions and 3 deletions

View file

@ -987,7 +987,6 @@
</emission>
</animation>
<!-- Panel lighting -->
<animation>
<name>Panel lighting</name>
<type>material</type>

View file

@ -233,6 +233,20 @@
<name>Panel lighting</name>
<type>material</type>
<object-name>MarkingLts</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission>
<red>1</red>
<green>0.824</green>
@ -266,4 +280,5 @@
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
</PropertyList>

View file

@ -80,6 +80,20 @@
<name>Panel lighting</name>
<type>material</type>
<object-name>MarkingLts</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission>
<red>1</red>
<green>0.824</green>
@ -87,5 +101,31 @@
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
</emission>
</animation>
<animation>
<name>Panel lighting</name>
<type>material</type>
<object-name>MarkingLts</object-name>
<condition>
<and>
<not>
<greater-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</greater-than>
</not>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
</and>
</condition>
<emission>
<red>0.20</red>
<green>0.20</green>
<blue>0.20</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
</PropertyList>

View file

@ -744,7 +744,7 @@
<condition>
<less-than>
<property>/it-autoflight/internal/heading-predicted-cmd</property>
<value>1</value>
<value>0.5</value>
</less-than>
</condition>
<expression>

View file

@ -1 +1 @@
4739
4741