|
|
@ -279,7 +279,7 @@ public class SceneApplication extends Application implements LookupProvider { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void update() { |
|
|
|
public void update() { |
|
|
|
if (speed == 0) { |
|
|
|
if(!started) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
try { |
|
|
|
try { |
|
|
@ -618,11 +618,7 @@ public class SceneApplication extends Application implements LookupProvider { |
|
|
|
Exceptions.printStackTrace(t); |
|
|
|
Exceptions.printStackTrace(t); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (lastError != null && !lastError.equals(msg)) { |
|
|
|
if (lastError != null && !lastError.equals(msg)) { |
|
|
|
Message mesg = new NotifyDescriptor.Message( |
|
|
|
StatusDisplayer.getDefault().setStatusText("Error in Scene, check application log"); |
|
|
|
"Error in scene!\n" |
|
|
|
|
|
|
|
+ "(" + t + ")", |
|
|
|
|
|
|
|
NotifyDescriptor.WARNING_MESSAGE); |
|
|
|
|
|
|
|
DialogDisplayer.getDefault().notifyLater(mesg); |
|
|
|
|
|
|
|
Exceptions.printStackTrace(t); |
|
|
|
Exceptions.printStackTrace(t); |
|
|
|
lastError = msg; |
|
|
|
lastError = msg; |
|
|
|
} |
|
|
|
} |
|
|
|