From dfafd24ab824ce515531e3dafb50699c73f6676c Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Fri, 21 Oct 2011 23:21:05 +0000 Subject: [PATCH] - change SceneApplication to use new panel initialization git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java index 6cf47d258..8d64705e2 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java @@ -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;