diff --git a/engine/src/core/com/jme3/renderer/Camera.java b/engine/src/core/com/jme3/renderer/Camera.java index e20ac4abf..7e54a993c 100644 --- a/engine/src/core/com/jme3/renderer/Camera.java +++ b/engine/src/core/com/jme3/renderer/Camera.java @@ -194,7 +194,7 @@ public class Camera implements Savable, Cloneable { /** * store the value for field parallelProjection */ - private boolean parallelProjection; + private boolean parallelProjection = true; protected Matrix4f projectionMatrixOverride; protected Matrix4f viewMatrix = new Matrix4f(); protected Matrix4f projectionMatrix = new Matrix4f(); @@ -778,6 +778,9 @@ public class Camera implements Savable, Cloneable { frustumNear = near; frustumFar = far; + // Camera is no longer parallel projection even if it was before + parallelProjection = false; + onFrustumChange(); }