diff options
author | Jose Antonio Marquez | 2012-06-07 11:28:25 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-07 11:28:25 -0700 |
commit | 7d1a564a8fd246c621f674b5521554fbfc058281 (patch) | |
tree | d1be340a099e318db8113b651ba45c3d4c00f3a5 /js/tools/PenTool.js | |
parent | 0efbbf8287517b755be1774f6aa49947bed50a0d (diff) | |
parent | b75fe9369f7caec0351d298f7106c8d59572b440 (diff) | |
download | ninja-7d1a564a8fd246c621f674b5521554fbfc058281.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into FileIO
Diffstat (limited to 'js/tools/PenTool.js')
-rwxr-xr-x | js/tools/PenTool.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js index 4daae420..e296d0e5 100755 --- a/js/tools/PenTool.js +++ b/js/tools/PenTool.js | |||
@@ -695,7 +695,6 @@ exports.PenTool = Montage.create(ShapeTool, { | |||
695 | if (!canvas) { | 695 | if (!canvas) { |
696 | this._doesSelectionChangeNeedHandling = false; //this will ignore the selection change event triggered by the new canvas | 696 | this._doesSelectionChangeNeedHandling = false; //this will ignore the selection change event triggered by the new canvas |
697 | var newCanvas = document.application.njUtils.make("canvas", {"data-RDGE-id": NJUtils.generateRandom()}, this.application.ninja.currentDocument); | 697 | var newCanvas = document.application.njUtils.make("canvas", {"data-RDGE-id": NJUtils.generateRandom()}, this.application.ninja.currentDocument); |
698 | document.application.njUtils.createModelWithShape(newCanvas, "Subpath"); | ||
699 | var styles = document.application.njUtils.stylesFromDraw(newCanvas, parseInt(w), parseInt(h), {midPt: midPt, planeMat: planeMat}); | 698 | var styles = document.application.njUtils.stylesFromDraw(newCanvas, parseInt(w), parseInt(h), {midPt: midPt, planeMat: planeMat}); |
700 | this.application.ninja.elementMediator.addElements(newCanvas, styles, false); | 699 | this.application.ninja.elementMediator.addElements(newCanvas, styles, false); |
701 | 700 | ||