瀏覽代碼

Commented something which was made in-executable by bad "if (true == true) return" hack

MeFisto94 8 年之前
父節點
當前提交
67da8b9678
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      jme3-core/src/com/jme3/gde/core/appstates/RunAppStateAction.java

+ 2 - 3
jme3-core/src/com/jme3/gde/core/appstates/RunAppStateAction.java

@@ -133,8 +133,7 @@ public class RunAppStateAction implements ContextAwareAction {
             attachState(app);
         } else {
             DialogDisplayer.getDefault().notifyLater(new NotifyDescriptor.Message("No Scene opened to attach to,\nopen a j3o scene."));
-            if(5==5)
-            return;
+            /*
             if (config.manager != null) {
                 logger.log(Level.INFO, "Try request scene..");
                 //TODO: rootNode is assigned in SceneApplication.. more elegant system (with scene lookup)
@@ -161,7 +160,7 @@ public class RunAppStateAction implements ContextAwareAction {
                 SceneApplication.getApplication().openScene(sceneRequest);
             } else {
                 DialogDisplayer.getDefault().notifyLater(new NotifyDescriptor.Message("Not a jME project!"));
-            }
+            }*/
         }
     }