diff options
Diffstat (limited to 'src/MTools/Anim/MPath.pm')
-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]; |