trackeditor: check for more height differences

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9255 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
iobyte 2024-01-18 04:47:04 +00:00
parent 257101ce00
commit a14433b213
2 changed files with 30 additions and 1 deletions

View File

@ -436,11 +436,39 @@ public class CheckDialog extends JDialog
{
textArea.append(segmentInfo + "Previous height end left : " + previousHeightEndLeft + " doesn't match " + heightStartLeft + "\n");
}
else if (!Double.isNaN(previousHeightEnd) && previousHeightEnd != heightStartLeft)
{
textArea.append(segmentInfo + "Previous height end : " + previousHeightEnd + " doesn't match " + heightStartLeft + "\n");
}
if (!Double.isNaN(previousHeightEndRight) && previousHeightEndRight != heightStartRight)
{
textArea.append(segmentInfo + "Previous height end right : " + previousHeightEndRight + " doesn't match " + heightStartRight + "\n");
}
else if (!Double.isNaN(previousHeightEnd) && previousHeightEnd != heightStartRight)
{
textArea.append(segmentInfo + "Previous height end : " + previousHeightEnd + " doesn't match " + heightStartRight + "\n");
}
}
else if (previous != null && hasHeightStart)
{
if (!Double.isNaN(previousHeightEndLeft) && previousHeightEndLeft != heightStart)
{
textArea.append(segmentInfo + "Previous height end left : " + previousHeightEndLeft + " doesn't match " + heightStart + "\n");
}
else if (!Double.isNaN(previousHeightEnd) && previousHeightEnd != heightStart)
{
textArea.append(segmentInfo + "Previous height end : " + previousHeightEnd + " doesn't match " + heightStart + "\n");
}
if (!Double.isNaN(previousHeightEndRight) && previousHeightEndRight != heightStart)
{
textArea.append(segmentInfo + "Previous height end right : " + previousHeightEndRight + " doesn't match " + heightStart + "\n");
}
else if (!Double.isNaN(previousHeightEnd) && previousHeightEnd != heightStart)
{
textArea.append(segmentInfo + "Previous height end : " + previousHeightEnd + " doesn't match " + heightStart + "\n");
}
}
else if (next == null && hasHeightEndLeftRight)
{
@ -455,6 +483,7 @@ public class CheckDialog extends JDialog
}
}
previousHeightEnd = heightEnd;
previousHeightEndLeft = heightEndLeft;
previousHeightEndRight = heightEndRight;
}

View File

@ -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.4.2";
public final String version = "1.4.3";
private String path;
private double imageScale = 1;