From f084a0b8a0cb68ea72a4abd41655586e47ffcd70 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sun, 27 Jan 2013 12:19:33 +0000 Subject: [PATCH] SDK: - make SceneApplication error message less error prone git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10198 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/com/jme3/gde/core/scene/SceneApplication.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java index edc0d6b0c..22b709224 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java @@ -279,7 +279,7 @@ public class SceneApplication extends Application implements LookupProvider { @Override public void update() { - if (speed == 0) { + if(!started) { return; } try { @@ -618,11 +618,7 @@ public class SceneApplication extends Application implements LookupProvider { Exceptions.printStackTrace(t); } else { if (lastError != null && !lastError.equals(msg)) { - Message mesg = new NotifyDescriptor.Message( - "Error in scene!\n" - + "(" + t + ")", - NotifyDescriptor.WARNING_MESSAGE); - DialogDisplayer.getDefault().notifyLater(mesg); + StatusDisplayer.getDefault().setStatusText("Error in Scene, check application log"); Exceptions.printStackTrace(t); lastError = msg; }