1
0
Fork 0

Fixed "Position aircraft in air" in dialog.

Setting a parking position (e.g. by default via command-line) caused
"Position aircraft in air" to not work as expected. The "parkpos" property
must be reset, otherwise heading/glidepath/azimuth do not have any effect
when repositioning.
This commit is contained in:
ThorstenB 2010-10-10 14:05:42 +02:00
parent a0deec5728
commit 80eb4f44ca

View file

@ -260,6 +260,8 @@
<binding>
<command>nasal</command>
<script>
setprop("/sim/presets/parkpos", "");
if (!mode.airport.getBoolValue()) {
setprop("/sim/presets/airport-id", "");
setprop("/sim/presets/runway", "");