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 2e5f4e53d..2428520d2 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 @@ -248,10 +248,6 @@ public class SceneApplication extends Application implements LookupProvider { cam.setLocation(new Vector3f(0, 0, 10)); getStateManager().attach(new EnvironmentCamera()); - LightsDebugState lightDebugState = new LightsDebugState(); - getStateManager().attach(lightDebugState); - - wireProcessor = new WireProcessor(assetManager); inputManager.addMapping("MouseAxisX", new MouseAxisTrigger(MouseInput.AXIS_X, false)); diff --git a/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/NewLightPopup.java b/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/NewLightPopup.java index 3aff0e247..5ae75dd45 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/NewLightPopup.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/NewLightPopup.java @@ -221,11 +221,11 @@ public class NewLightPopup extends AbstractAction implements Presenter.Popup { @Override public void done(LightProbe t) { - handle.finish(); - ((BoundingSphere)t.getBounds()).setRadius(200); + handle.finish(); } }); node.addLight(lightProbe); + ((BoundingSphere)lightProbe.getBounds()).setRadius(10); addLightUndo(node, lightProbe); setModified();