diff --git a/src/path/Path.js b/src/path/Path.js index 84fd343d..bead0c3b 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -2019,7 +2019,7 @@ var Path = PathItem.extend(/** @lends Path# */{ for (var i = 0; i < length; i++) drawSegment(i); // Close path by drawing first segment again - if (path._closed) + if (path._closed && length > 0) drawSegment(0); }