Fixed an issue with FadeFiltter

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 12 years ago
parent fdf238cc08
commit 2a4a4ac0ef
  1. 4
      engine/src/core-effects/com/jme3/post/filters/FadeFilter.java

@ -91,13 +91,11 @@ public class FadeFilter extends Filter {
if (direction > 0 && value > 1) {
value = 1;
playing = false;
setEnabled(false);
}
if (direction < 0 && value < 0) {
value = 0;
playing = false;
setEnabled(false);
}
}
}
}

Loading…
Cancel
Save