- disable planet in welcome screen

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7750 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent ccf1242112
commit 1b988498bb
  1. 4
      sdk/jme3-welcome-screen/src/com/jme3/gde/welcome/WelcomeScreen.java

@ -68,8 +68,8 @@ public class WelcomeScreen implements ScreenController {
if (request.getRequester() == WelcomeScreen.this) {
//FIXME: planet location dont work?
if (SceneApplication.getApplication().getRenderer().getCaps().contains(Caps.OpenGL21)) {
planetView = new PlanetRendererState(new Planet(100f, new Vector3f(0, 0, 0)), dirLight);
SceneApplication.getApplication().getStateManager().attach(planetView);
// planetView = new PlanetRendererState(new Planet(100f, new Vector3f(0, 0, 0)), dirLight);
// SceneApplication.getApplication().getStateManager().attach(planetView);
}
SceneApplication.getApplication().getViewPort().getScenes().get(0).addLight(dirLight);
SceneApplication.getApplication().getCamera().setLocation(new Vector3f(0, 0, 400));

Loading…
Cancel
Save