diff --git a/src/path/Path.Constructors.js b/src/path/Path.Constructors.js index 31400125d..88a586774 100644 --- a/src/path/Path.Constructors.js +++ b/src/path/Path.Constructors.js @@ -22,11 +22,7 @@ Path.inject({ statics: new function() { function createPath(segments, closed, args) { var props = Base.getNamed(args), - path = new Path(props && ( - props.insert == true ? Item.INSERT - : props.insert == false ? Item.NO_INSERT - : null - )); + path = new Path(props); path._add(segments); // No need to use setter for _closed since _add() called _changed(). path._closed = closed;