Przeglądaj źródła

Post process filters :
- Fixed Apsect ratio issue with multiviews

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

rem..om 14 lat temu
rodzic
commit
db62445d7e

+ 1 - 1
engine/src/core/com/jme3/post/FilterPostProcessor.java

@@ -316,7 +316,7 @@ public class FilterPostProcessor implements SceneProcessor, Savable {
         height = (int) (h * (Math.abs(bottom - top)));
         width = Math.max(1, width);
         height = Math.max(1, height);
-        vp.getCamera().resize(width, height, true);
+        vp.getCamera().resize(width, height, false);
         cameraInit = true;
         computeDepth = false;