Forráskód Böngészése

SDK:
- change SDK startup error message sequence

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10692 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 12 éve
szülő
commit
3f607632d4

+ 2 - 2
sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java

@@ -392,8 +392,8 @@ public class SceneApplication extends Application implements LookupProvider {
      * @param request
      */
     public void openScene(final SceneRequest request) {
-        if (failMessageShown) {
-            NotifyUtil.show("Error starting OpenGL context!", "Click here to go to troubleshooting web page.", MessageType.EXCEPTION, lst, 0);
+        if (!started) {
+            NotifyUtil.show("OpenGL context not started!", "Click here to go to troubleshooting web page.", MessageType.WARNING, lst, 0);
             return;
         }
         closeScene(currentSceneRequest, request);