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. 4
      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));
getStateManager().attach(new EnvironmentCamera());
LightsDebugState lightDebugState = new LightsDebugState();
getStateManager().attach(lightDebugState);
wireProcessor = new WireProcessor(assetManager);
inputManager.addMapping("MouseAxisX", new MouseAxisTrigger(MouseInput.AXIS_X, false));

@ -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();

Loading…
Cancel
Save