export to a place where the security code actually allows it
This commit is contained in:
parent
26a999359e
commit
071eb664f8
2 changed files with 4 additions and 4 deletions
|
@ -164,8 +164,8 @@
|
|||
<line>  --prop:source=Models,Scenery/Objects</line>
|
||||
<line/>
|
||||
<line>Exported data are written to:</line>
|
||||
<line>  ~/.fgfs/ufo-model-export.xml (Unix)</line>
|
||||
<line>  %APPDATA%\flightgear.org\ufo-model-export.xml (Microsoft Windows)</line>
|
||||
<line>  ~/.fgfs/Export/ufo-model-export.xml (Unix)</line>
|
||||
<line>  %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>
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue