From 90f349bd5386be82cb49a6860d53d5df715946ae Mon Sep 17 00:00:00 2001 From: kitfox Date: Thu, 6 Feb 2014 09:04:12 +0000 Subject: 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 --- src/main/java/com/kitfox/svg/animation/Animate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com') 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); -- cgit v1.2.3-55-g7522