From c798db10b229505653d85a79bd0e6919a28e1cde Mon Sep 17 00:00:00 2001 From: "dan..om" Date: Tue, 27 Nov 2012 14:08:58 +0000 Subject: [PATCH] - Reverted Nehon's termporary depth fix. We don't need jME to do the extra work if it's not needed. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java b/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java index 6eab56c45..cbe0e1ed4 100644 --- a/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java +++ b/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java @@ -174,10 +174,8 @@ public class NiftyJmeDisplay implements SceneProcessor { public void postQueue(RenderQueue rq) { // render nifty before anything else renderManager.setCamera(vp.getCamera(), true); - renderer.setDepthRange(0, 0); //nifty.update(); nifty.render(false); - renderer.setDepthRange(0, 1); renderManager.setCamera(vp.getCamera(), false); }