Some cleanup

define_list_fix
Nehon 9 years ago
parent 0929bb2845
commit 7734492c66
  1. 4
      sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java
  2. 2
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/NewLightPopup.java

@ -248,10 +248,6 @@ public class SceneApplication extends Application implements LookupProvider {
cam.setLocation(new Vector3f(0, 0, 10)); cam.setLocation(new Vector3f(0, 0, 10));
getStateManager().attach(new EnvironmentCamera()); getStateManager().attach(new EnvironmentCamera());
LightsDebugState lightDebugState = new LightsDebugState();
getStateManager().attach(lightDebugState);
wireProcessor = new WireProcessor(assetManager); wireProcessor = new WireProcessor(assetManager);
inputManager.addMapping("MouseAxisX", new MouseAxisTrigger(MouseInput.AXIS_X, false)); inputManager.addMapping("MouseAxisX", new MouseAxisTrigger(MouseInput.AXIS_X, false));

@ -222,10 +222,10 @@ public class NewLightPopup extends AbstractAction implements Presenter.Popup {
@Override @Override
public void done(LightProbe t) { public void done(LightProbe t) {
handle.finish(); handle.finish();
((BoundingSphere)t.getBounds()).setRadius(200);
} }
}); });
node.addLight(lightProbe); node.addLight(lightProbe);
((BoundingSphere)lightProbe.getBounds()).setRadius(10);
addLightUndo(node, lightProbe); addLightUndo(node, lightProbe);
setModified(); setModified();

Loading…
Cancel
Save