androidInput.loadSettings was never called, so setting mouseEventsEnabled = false; in MainActivity had no effect.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10012 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
c798db10b2
commit
200df1c84b
@ -121,6 +121,8 @@ public class OGLESContext implements JmeContext, GLSurfaceView.Renderer, SoftTex
|
||||
} else {
|
||||
androidInput.setView(view);
|
||||
}
|
||||
androidInput.loadSettings(settings);
|
||||
|
||||
if (configType == ConfigType.LEGACY) {
|
||||
// Hardcoded egl setup
|
||||
clientOpenGLESVersion = 2;
|
||||
@ -247,6 +249,10 @@ public class OGLESContext implements JmeContext, GLSurfaceView.Renderer, SoftTex
|
||||
@Override
|
||||
public void setSettings(AppSettings settings) {
|
||||
this.settings.copyFrom(settings);
|
||||
if (androidInput != null) {
|
||||
androidInput.loadSettings(settings);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user