diff --git a/src/path/Path.js b/src/path/Path.js index feb9f749..602e0c2c 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -279,7 +279,7 @@ var Path = this.Path = PathItem.extend({ join: function(path) { if (path) { - var segments = path.segments, + var segments = path._segments, last1 = this.getLastSegment(), last2 = path.getLastSegment(); if (last1._point.equals(last2._point))