- change SceneApplication to use new panel initialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
07199ced10
commit
dfafd24ab8
@ -165,7 +165,7 @@ public class SceneApplication extends Application implements LookupProvider, Loo
|
||||
} else {
|
||||
if (panel == null) {
|
||||
panel = ((AwtPanelsContext) getContext()).createPanel(PaintMode.Accelerated);
|
||||
panel.attachTo(viewPort, overlayView, guiViewPort);
|
||||
panel.attachTo(true, viewPort, overlayView, guiViewPort);
|
||||
((AwtPanelsContext) getContext()).setInputSource(panel);
|
||||
}
|
||||
return panel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user