diff options
author | ribet | 2007-06-13 18:36:31 +0000 |
---|---|---|
committer | ribet | 2007-06-13 18:36:31 +0000 |
commit | c0dbd65a0c3e0b66d69b8fcc827f8380a7b35767 (patch) | |
tree | 70f41372b1c168cddc680ec17a14e269259ac8bb /src/MTools/Anim | |
parent | d9b2e4c566a3dea8e44ab8ab07cda8b2bb313d57 (diff) | |
download | mtc-c0dbd65a0c3e0b66d69b8fcc827f8380a7b35767.zip mtc-c0dbd65a0c3e0b66d69b8fcc827f8380a7b35767.tar.gz mtc-c0dbd65a0c3e0b66d69b8fcc827f8380a7b35767.tar.bz2 mtc-c0dbd65a0c3e0b66d69b8fcc827f8380a7b35767.tar.xz |
Never expect equality on non integer values
Diffstat (limited to 'src/MTools/Anim')
-rw-r--r-- | src/MTools/Anim/MPath.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MTools/Anim/MPath.pm b/src/MTools/Anim/MPath.pm index ba62de2..eb8b221 100644 --- a/src/MTools/Anim/MPath.pm +++ b/src/MTools/Anim/MPath.pm @@ -144,7 +144,7 @@ sub __getPoint { my $y = $points [$#points] -> [1]; my $vx = 0; my $vy = 0; - if ($percentage != 100) { + if ($percentage < 100) { for (my $i = 0; $i < @points - 1; $i ++) { $vx = $x = $points [$i + 1] -> [0] - $points [$i] -> [0]; |