1
0
Fork 0

Hide pilot model when walker enabled.

Previously pilot models would stay visible when the
walker was active.  Which is a bit unrealistic given
the walker is supposed to be "you" in some way.

So now the internal pilot is hidden when the walker
is active outside the aircraft.

Fix provided by Benedikt Hallinger
This commit is contained in:
Stuart Buchanan 2020-11-19 19:03:07 +00:00
parent 010bd8c145
commit a56d13640d
5 changed files with 20 additions and 5 deletions

View file

@ -68,7 +68,10 @@
<condition> <condition>
<and> <and>
<not> <not>
<property>/sim/current-view/internal</property> <or>
<property>/sim/current-view/internal</property>
<property>/sim/walker/outside</property>
</or>
</not> </not>
<property>/sim/rendering/pilot-model/enabled</property> <property>/sim/rendering/pilot-model/enabled</property>
</and> </and>

View file

@ -61,7 +61,10 @@
<condition> <condition>
<and> <and>
<not> <not>
<property>/sim/current-view/internal</property> <or>
<property>/sim/current-view/internal</property>
<property>/sim/walker/outside</property>
</or>
</not> </not>
<property>/sim/rendering/pilot-model/enabled</property> <property>/sim/rendering/pilot-model/enabled</property>
</and> </and>

View file

@ -68,7 +68,10 @@
<condition> <condition>
<and> <and>
<not> <not>
<property>/sim/current-view/internal</property> <or>
<property>/sim/current-view/internal</property>
<property>/sim/walker/outside</property>
</or>
</not> </not>
<property>/sim/rendering/pilot-model/enabled</property> <property>/sim/rendering/pilot-model/enabled</property>
</and> </and>

View file

@ -68,7 +68,10 @@
<condition> <condition>
<and> <and>
<not> <not>
<property>/sim/current-view/internal</property> <or>
<property>/sim/current-view/internal</property>
<property>/sim/walker/outside</property>
</or>
</not> </not>
<property>/sim/rendering/pilot-model/enabled</property> <property>/sim/rendering/pilot-model/enabled</property>
</and> </and>

View file

@ -68,7 +68,10 @@
<condition> <condition>
<and> <and>
<not> <not>
<property>/sim/current-view/internal</property> <or>
<property>/sim/current-view/internal</property>
<property>/sim/walker/outside</property>
</or>
</not> </not>
<property>/sim/rendering/pilot-model/enabled</property> <property>/sim/rendering/pilot-model/enabled</property>
</and> </and>