diff --git a/src/path/Path.Constructors.js b/src/path/Path.Constructors.js index 2b11b23a..a8a9b186 100644 --- a/src/path/Path.Constructors.js +++ b/src/path/Path.Constructors.js @@ -15,8 +15,8 @@ Path.inject({ statics: new function() { path._add(new Segment(arguments[0])); path._add(new Segment(arguments[1])); } else if (arguments.length == 4) { - path._add(Segment.read(arguments[0], arguments[1])); - path._add(Segment.read(arguments[2], arguments[3])); + path._add(new Segment(arguments[0], arguments[1])); + path._add(new Segment(arguments[2], arguments[3])); } return path; },