Fixed an issue with FadeFiltter

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
rem..om 2012-12-14 22:25:31 +00:00
parent fdf238cc08
commit 2a4a4ac0ef

View File

@ -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);
}
}
}
}