1
0
Fork 0

export to a place where the security code actually allows it

This commit is contained in:
mfranz 2009-01-10 16:51:26 +00:00
parent 26a999359e
commit 071eb664f8
2 changed files with 4 additions and 4 deletions

View file

@ -164,8 +164,8 @@
<line>&#32;&#32;&#45;&#45;prop:source=Models,Scenery/Objects</line>
<line/>
<line>Exported data are written to:</line>
<line>&#32;&#32;~/.fgfs/ufo-model-export.xml (Unix)</line>
<line>&#32;&#32;%APPDATA%\flightgear.org\ufo-model-export.xml (Microsoft Windows)</line>
<line>&#32;&#32;~/.fgfs/Export/ufo-model-export.xml (Unix)</line>
<line>&#32;&#32;%APPDATA%\flightgear.org\Export\ufo-model-export.xml (Microsoft Windows)</line>
<line/>
<line>In the adjustment dialog (TAB-key) holding the Ctrl or Shift key down</line>
<line>makes slider effects coarser/finer.</line>

View file

@ -784,7 +784,7 @@ var print_data = func {
var export_data = func {
var path = getprop("/sim/fg-home") ~ "/ufo-model-export.xml";
var path = getprop("/sim/fg-home") ~ "/Export/ufo-model-export.xml";
var args = props.Node.new({ filename : path });
props.copy(modelmgr.get_data(), args.getNode("data/models", 1));
fgcommand("savexml", args);
@ -793,7 +793,7 @@ var export_data = func {
var export_flightplan = func {
var path = getprop("/sim/fg-home") ~ "/ufo-flightplan-export.xml";
var path = getprop("/sim/fg-home") ~ "/Export/ufo-flightplan-export.xml";
var args = props.Node.new({ filename : path });
var export = args.getNode("data/flightplan", 1);
var waypoints = modelmgr.get_data().getChildren("model");