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:
parent
fdf238cc08
commit
2a4a4ac0ef
@ -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…
x
Reference in New Issue
Block a user