summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorkitfox2014-02-06 10:04:12 +0100
committerkitfox2014-02-06 10:04:12 +0100
commit90f349bd5386be82cb49a6860d53d5df715946ae (patch)
treebedb064e1deb4fc31f512233ca9710ff642b69a9 /src/main
parentFixing SVGSALAMANDER-30. Animation elements with a 'to' but not a 'from' wil... (diff)
downloadsvg-salamander-core-90f349bd5386be82cb49a6860d53d5df715946ae.tar.gz
svg-salamander-core-90f349bd5386be82cb49a6860d53d5df715946ae.tar.xz
svg-salamander-core-90f349bd5386be82cb49a6860d53d5df715946ae.zip
Fixing SVGSALAMANDER-31. Can now animate an interpolation between two paths correctly.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@165 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/kitfox/svg/animation/Animate.java2
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);