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:
parent
a0deec5728
commit
80eb4f44ca
1 changed files with 2 additions and 0 deletions
|
@ -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", "");
|
||||
|
|
Loading…
Add table
Reference in a new issue