From 8e5832f9752b79dc88aa2f0d14443ffc864b5d74 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sun, 8 May 2011 13:49:24 +0000 Subject: [PATCH] Set z scale to 0 in orthoMatrix as it was before git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7467 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/renderer/RenderManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/core/com/jme3/renderer/RenderManager.java b/engine/src/core/com/jme3/renderer/RenderManager.java index 152ce6ace..318e672db 100644 --- a/engine/src/core/com/jme3/renderer/RenderManager.java +++ b/engine/src/core/com/jme3/renderer/RenderManager.java @@ -618,7 +618,7 @@ public class RenderManager { orthoMatrix.loadIdentity(); orthoMatrix.setTranslation(translateX, translateY, 0); - orthoMatrix.setScale(scaleX, scaleY, 1); + orthoMatrix.setScale(scaleX, scaleY, 0); //orthoMatrix.loadIdentity(); //orthoMatrix.setTranslation(-1f, -1f, 0f);