Fixed Dialogue Tree bug and spacing issues.

v0.6.14 released.
Dialogue Tree bug caused by copy-pasting code created NPEs when not
activating translator mode. Made Dialogue Tree node spacing double when
activating translator mode.
This commit is contained in:
Zukero
2018-09-17 20:55:18 +02:00
parent 1b01ecd37d
commit 00c05e7507
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jardesc>
<jar path="ATContentStudio/ATCS_v0.6.13.jar"/>
<jar path="ATContentStudio/ATCS_v0.6.14.jar"/>
<options buildIfNeeded="true" compress="true" descriptionLocation="/ATContentStudio/ATCS_JAR.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
<selectedProjects/>

View File

@@ -1 +1 @@
v0.6.13
v0.6.14

View File

@@ -1,6 +1,6 @@
!include MUI2.nsh
!define VERSION "0.6.13"
!define VERSION "0.6.14"
!define TRAINER_VERSION "0.1.4"
!define JAVA_BIN "javaw"

View File

@@ -43,7 +43,7 @@ import com.gpl.rpg.atcontentstudio.ui.WorkspaceSelector;
public class ATContentStudio {
public static final String APP_NAME = "Andor's Trail Content Studio";
public static final String APP_VERSION = "v0.6.13";
public static final String APP_VERSION = "v0.6.14";
public static final String CHECK_UPDATE_URL = "https://andorstrail.com/static/ATCS_latest";
public static final String DOWNLOAD_URL = "https://andorstrail.com/viewtopic.php?f=6&t=4806";

View File

@@ -160,7 +160,7 @@ public class DialogueGraphView extends Display {
// now create the main layout routine
ActionList layout = new ActionList();//Activity.INFINITY);
NodeLinkTreeLayout treeLayout = new NodeLinkTreeLayout(GRAPH, prefuse.Constants.ORIENT_LEFT_RIGHT, 120, 40, 40);
NodeLinkTreeLayout treeLayout = new NodeLinkTreeLayout(GRAPH, prefuse.Constants.ORIENT_LEFT_RIGHT, 120, translatorMode ? 80 : 40, translatorMode ? 80 : 40);
treeLayout.setLayoutAnchor(new Point2D.Double(25,300));
layout.add(treeLayout);
layout.add(new EdgesLabelDecoratorLayout(EDGES_LABELS));
@@ -252,7 +252,7 @@ public class DialogueGraphView extends Display {
};
};
} else {
label = dialogue.message;
label = r.text;
}
rNode.setString(LABEL, label);
if (t != null) t.start();