trackeditor: only export race line file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9236 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 7357abfb9d5bff19192395c2a678a73db11ea7e6 Former-commit-id: 9e922752646d8fb143f446ab82c69bc9a9760d04
This commit is contained in:
parent
5904e020dc
commit
4fe36dab97
3 changed files with 15 additions and 3 deletions
|
@ -2349,7 +2349,7 @@ public class EditorFrame extends JFrame
|
|||
ac3E2Action = new ExportAC3E2Action("AC3 with terrain and white track elevation map", null, "Create AC3 file and terrain and white track elevation map.", null);
|
||||
ac3E3Action = new ExportAC3E3Action("AC3 with track elevation map", null, "Create AC3 file and track elevation map.", null);
|
||||
ac3E4Action = new ExportAC3E4Action("AC3 with track with height steps elevation map", null, "Create AC3 file and track with height steps elevation map.", null);
|
||||
ac3RacelineAction = new ExportAC3RacelineAction("AC3 with race line", null, "Create AC3 file with race line.", null);
|
||||
ac3RacelineAction = new ExportAC3RacelineAction("AC3 race line", null, "Create AC3 race line file.", null);
|
||||
calcDeltaAction = new CalcDeltaAction("Delta's", createNavigationIcon("Calc24"), "Calculate Delta's for x,y,z and angle.", KeyEvent.VK_S);
|
||||
importAction = new ImportAction("Speed Dreams", null, "Speed Dreams xml file", null);
|
||||
exportAction = new ExportAction("Speed Dreams", null, "Speed Dreams xml file", null);
|
||||
|
|
|
@ -99,11 +99,23 @@ public class TrackgenPanel extends JDialog implements Runnable
|
|||
String trackName = path.substring(path.lastIndexOf(sep) + 1);
|
||||
String category = " -c " + editorFrame.getTrackData().getHeader().getCategory();
|
||||
String name = " -n " + trackName;
|
||||
String args = " -a" + category + name;
|
||||
String args = category + name;
|
||||
|
||||
if (additionalArgs != null)
|
||||
{
|
||||
args = args + additionalArgs;
|
||||
|
||||
// don't create everything for race line
|
||||
if (!args.contains("-r"))
|
||||
{
|
||||
args += " -a";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
args += " -a";
|
||||
}
|
||||
|
||||
System.out.println(args);
|
||||
|
||||
try
|
||||
|
|
|
@ -34,7 +34,7 @@ public class Properties
|
|||
private static Properties instance = new Properties();
|
||||
private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>();
|
||||
public final String title = "sd2-trackeditor";
|
||||
public final String version = "1.3.30";
|
||||
public final String version = "1.3.31";
|
||||
private String path;
|
||||
|
||||
private double imageScale = 1;
|
||||
|
|
Loading…
Reference in a new issue