- adapt SceneApplication rendering for background rendering of OffViews etc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8187 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent a2778c2a3c
commit b03bc623a9
  1. 4
      sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java

@ -232,9 +232,7 @@ public class SceneApplication extends Application implements LookupProvider, Loo
guiNode.updateGeometricState();
toolsNode.updateGeometricState();
getStateManager().render(renderManager);
if (context.isRenderable()) {
renderManager.render(tpf);
}
renderManager.render(tpf, context.isRenderable());
getStateManager().postRender();
} catch (NullPointerException e) {
handleError("NullPointerException: " + e.getMessage(), e);

Loading…
Cancel
Save