- change SceneApplication to use new panel initialization

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 07199ced10
commit dfafd24ab8
  1. 2
      sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java

@ -165,7 +165,7 @@ public class SceneApplication extends Application implements LookupProvider, Loo
} else { } else {
if (panel == null) { if (panel == null) {
panel = ((AwtPanelsContext) getContext()).createPanel(PaintMode.Accelerated); panel = ((AwtPanelsContext) getContext()).createPanel(PaintMode.Accelerated);
panel.attachTo(viewPort, overlayView, guiViewPort); panel.attachTo(true, viewPort, overlayView, guiViewPort);
((AwtPanelsContext) getContext()).setInputSource(panel); ((AwtPanelsContext) getContext()).setInputSource(panel);
} }
return panel; return panel;

Loading…
Cancel
Save