Skip to content

Commit 73b570f

Browse files
committed
Fixed error in addPoints method.
1 parent d50aeb0 commit 73b570f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/paths/curves/spline/SplineCurve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var SplineCurve = new Class({
3939
p.y = points[i + 1];
4040
i++;
4141
}
42-
else if (Array.isArray(entry))
42+
else if (Array.isArray(points[i]))
4343
{
4444
// An array of arrays?
4545
p.x = points[i][0];

0 commit comments

Comments
 (0)