From c2465b60fae7f2c70a6e8dadbd229be5fd3022d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 20 Sep 2014 11:06:25 +0200 Subject: [PATCH] Transform the correct amount of points in Curve.getValues() when a matrix is provided. --- src/path/Curve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Curve.js b/src/path/Curve.js index d84f645f..2572cb6f 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -481,7 +481,7 @@ statics: { p2._x, p2._y ]; if (matrix) - matrix._transformCoordinates(values, values, 6); + matrix._transformCoordinates(values, values, 4); return values; },