diff --git a/src/path/Path.js b/src/path/Path.js index f3c3767d..fcec3177 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -123,7 +123,8 @@ var Path = PathItem.extend(/** @lends Path# */{ }, _equals: function(item) { - return Base.equals(this._segments, item._segments); + return this._closed === item._closed + && Base.equals(this._segments, item._segments); }, clone: function(insert) {