diff options
-rw-r--r-- | src/main/java/com/kitfox/svg/animation/Animate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/kitfox/svg/animation/Animate.java b/src/main/java/com/kitfox/svg/animation/Animate.java index 0ac491e..bfa0396 100644 --- a/src/main/java/com/kitfox/svg/animation/Animate.java +++ b/src/main/java/com/kitfox/svg/animation/Animate.java @@ -308,7 +308,7 @@ public class Animate extends AnimateBase implements AnimateColorIface float[] coordsFrom = new float[6];
float[] coordsTo = new float[6];
- for (; !itFrom.isDone(); itFrom.next())
+ for (; !itFrom.isDone(); itFrom.next(), itTo.next())
{
int segFrom = itFrom.currentSegment(coordsFrom);
int segTo = itTo.currentSegment(coordsTo);
|