From 73b7061b0b53a05b2f63720195b2264db88886bd Mon Sep 17 00:00:00 2001 From: Nehon Date: Wed, 29 Oct 2014 09:11:28 +0100 Subject: [PATCH] Fixed a typo in the setSubPixelShift in the FXAA filter that was causing a crash --- .../src/main/java/com/jme3/post/filters/FXAAFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-effects/src/main/java/com/jme3/post/filters/FXAAFilter.java b/jme3-effects/src/main/java/com/jme3/post/filters/FXAAFilter.java index 7d95c67bb..7b1dfb37a 100644 --- a/jme3-effects/src/main/java/com/jme3/post/filters/FXAAFilter.java +++ b/jme3-effects/src/main/java/com/jme3/post/filters/FXAAFilter.java @@ -85,7 +85,7 @@ public class FXAAFilter extends Filter { public void setSubPixelShift(float subPixelShift) { this.subPixelShift = subPixelShift; if (material != null) { - material.setFloat("SubPixelShif", this.subPixelShift); + material.setFloat("SubPixelShift", this.subPixelShift); } }