Post process filters :

- Fixed Apsect ratio issue with multiviews

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 14 years ago
parent e6c9cbac12
commit db62445d7e
  1. 2
      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))); height = (int) (h * (Math.abs(bottom - top)));
width = Math.max(1, width); width = Math.max(1, width);
height = Math.max(1, height); height = Math.max(1, height);
vp.getCamera().resize(width, height, true); vp.getCamera().resize(width, height, false);
cameraInit = true; cameraInit = true;
computeDepth = false; computeDepth = false;

Loading…
Cancel
Save