diff options
author | Pushkar Joshi | 2012-05-31 17:16:21 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-05-31 17:16:21 -0700 |
commit | 8915a7109d918a2e69b0999ebaa2deb84811fef8 (patch) | |
tree | 19a8af74c58c9ea261f0842f36efdab959be3256 /js/tools/ShapeTool.js | |
parent | eea0a556e44c2b60d3aaf6e46d2432d3e6303812 (diff) | |
parent | 06b609df1ff7833592faddbd8d7abb5b9f15a74d (diff) | |
download | ninja-8915a7109d918a2e69b0999ebaa2deb84811fef8.tar.gz |
Merge branch 'pentool' into brushtool
Diffstat (limited to 'js/tools/ShapeTool.js')
-rwxr-xr-x | js/tools/ShapeTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js index 0562dbc2..367ab78d 100755 --- a/js/tools/ShapeTool.js +++ b/js/tools/ShapeTool.js | |||
@@ -72,7 +72,7 @@ exports.ShapeTool = Montage.create(DrawingTool, { | |||
72 | if(!canvas.elementModel.shapeModel) { | 72 | if(!canvas.elementModel.shapeModel) { |
73 | canvas.elementModel.shapeModel = Montage.create(ShapeModel); | 73 | canvas.elementModel.shapeModel = Montage.create(ShapeModel); |
74 | } | 74 | } |
75 | this.application.ninja.elementMediator.addElements(canvas, canvas.elementModel.data); | 75 | this.RenderShape(drawData.width, drawData.height, drawData.planeMat, drawData.midPt, canvas); |
76 | } | 76 | } |
77 | } | 77 | } |
78 | 78 | ||