diff options
author | kitfox | 2014-02-06 10:04:12 +0100 |
---|---|---|
committer | kitfox | 2014-02-06 10:04:12 +0100 |
commit | 90f349bd5386be82cb49a6860d53d5df715946ae (patch) | |
tree | bedb064e1deb4fc31f512233ca9710ff642b69a9 | |
parent | Fixing SVGSALAMANDER-30. Animation elements with a 'to' but not a 'from' wil... (diff) | |
download | svg-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
-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);
|