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 Former-commit-id: 213eb1d47c5675abd1fb257b0ae60a74b94c3bf6 Former-commit-id: bbe9b44dd0b86968d59b99dcc23f3f91f56bb35d
This commit is contained in:
parent
2b1bbb728b
commit
13e2fff8a1
2 changed files with 30 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue