aboutsummaryrefslogtreecommitdiff
path: root/js/tools/ShapeTool.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools/ShapeTool.js')
-rwxr-xr-xjs/tools/ShapeTool.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js
index 8886285d..03ddc391 100755
--- a/js/tools/ShapeTool.js
+++ b/js/tools/ShapeTool.js
@@ -65,7 +65,6 @@ exports.ShapeTool = Montage.create(DrawingTool, {
65 if( (w > 0) && (h > 0) ) { 65 if( (w > 0) && (h > 0) ) {
66 if(!this._useExistingCanvas()) { 66 if(!this._useExistingCanvas()) {
67 canvas = document.application.njUtils.make("canvas", {"data-RDGE-id": NJUtils.generateRandom()}, this.application.ninja.currentDocument); 67 canvas = document.application.njUtils.make("canvas", {"data-RDGE-id": NJUtils.generateRandom()}, this.application.ninja.currentDocument);
68 document.application.njUtils.createModelWithShape(canvas);
69 68
70 var styles = document.application.njUtils.stylesFromDraw(canvas, w, h, this.drawData); 69 var styles = document.application.njUtils.stylesFromDraw(canvas, w, h, this.drawData);
71 this.application.ninja.elementMediator.addElements(canvas, styles); 70 this.application.ninja.elementMediator.addElements(canvas, styles);