- disable auto-reload of scenes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8995 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent a906b97be3
commit 5d957f96e1
  1. 6
      sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerTopComponent.java

@ -964,15 +964,15 @@ private void scaleButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F
new Thread(call).start();
}
};
currentRequest.getManager().addClassPathEventListener(listener);
// currentRequest.getManager().addClassPathEventListener(listener);
}
}
public void sceneClosed(SceneRequest request) {
if (request.equals(currentRequest)) {
setActivatedNodes(new org.openide.nodes.Node[]{});
if (request != null) {
request.getManager().removeClassPathEventListener(listener);
if (listener != null && request.getManager() != null) {
// request.getManager().removeClassPathEventListener(listener);
listener = null;
}
SceneApplication.getApplication().removeSceneListener(this);

Loading…
Cancel
Save