Some cleanup
This commit is contained in:
parent
0929bb2845
commit
7734492c66
@ -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));
|
||||
|
@ -222,10 +222,10 @@ public class NewLightPopup extends AbstractAction implements Presenter.Popup {
|
||||
@Override
|
||||
public void done(LightProbe t) {
|
||||
handle.finish();
|
||||
((BoundingSphere)t.getBounds()).setRadius(200);
|
||||
}
|
||||
});
|
||||
node.addLight(lightProbe);
|
||||
((BoundingSphere)lightProbe.getBounds()).setRadius(10);
|
||||
addLightUndo(node, lightProbe);
|
||||
setModified();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user