Fixed build problem due to changed constructor format.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10004 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Zer..om 12 years ago
parent 5a3a1838f6
commit dd2b82c881
  1. 4
      engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java

@ -100,7 +100,7 @@ public class NiftyJmeDisplay implements SceneProcessor {
soundDev = new SoundDeviceJme(assetManager, audioRenderer);
renderDev = new RenderDeviceJme(this);
inputSys = new InputSystemJme();
inputSys = new InputSystemJme(inputManager);
nifty = new Nifty(renderDev, soundDev, inputSys, new TimeProvider());
inputSys.setNifty(nifty);
@ -114,7 +114,7 @@ public class NiftyJmeDisplay implements SceneProcessor {
this.renderManager = rm;
renderDev.setRenderManager(rm);
if (inputManager != null) {
inputSys.setInputManager(inputManager);
// inputSys.setInputManager(inputManager);
inputManager.addRawInputListener(inputSys);
}
inited = true;

Loading…
Cancel
Save