Merge branch 'master' of \New Git\fgdata
This commit is contained in:
commit
9c99ae95f1
2 changed files with 11 additions and 4 deletions
13
keyboard.xml
13
keyboard.xml
|
@ -1123,10 +1123,15 @@ top down before the key bindings are parsed.
|
|||
<script>
|
||||
var success = fgcommand("screen-capture");
|
||||
var path = getprop("/sim/paths/screenshot-last");
|
||||
if (success)
|
||||
gui.popupTip("Screenshot written to '" ~ path ~ "'");
|
||||
else
|
||||
gui.popupTip("Error writing screenshot '" ~ path ~ "'");
|
||||
var threading = getprop("/sim/rendering/multithreading-mode");
|
||||
var button = { button: { legend: "Ok", default: 1, binding: { command: "dialog-close" }}};
|
||||
if (threading and threading != "SingleThreaded") {
|
||||
gui.popupTip("Threading model must be SingleThreaded (or not defined) for snapshots to work.", 600, button);
|
||||
} elsif (success) {
|
||||
gui.popupTip("Screenshot written to '" ~ path ~ "'", 2);
|
||||
} else {
|
||||
gui.popupTip("Error writing screenshot '" ~ path ~ "'", 600, button);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
<mod-shift>
|
||||
|
|
|
@ -602,6 +602,8 @@ Started September 2000 by David Megginson, david@megginson.com
|
|||
|
||||
<view>
|
||||
<name>Model View</name>
|
||||
<enabled type="bool"
|
||||
userarchive="y">true</enabled>
|
||||
<type>lookat</type>
|
||||
<config>
|
||||
<from-model type="bool">false</from-model>
|
||||
|
|
Loading…
Add table
Reference in a new issue