aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-17 10:47:53 -0700
committerNivesh Rajbhandari2012-05-17 10:47:53 -0700
commitdb749e10fdff655c2f3b8336a8cc58bf4f389e2c (patch)
treee6833a73ea7e115fedf8c6e61ff7320dd32b6730
parent92fcb770aff434e994e7a39a61d8fac4a017dca0 (diff)
downloadninja-db749e10fdff655c2f3b8336a8cc58bf4f389e2c.tar.gz
IKNinja-1628 - Can't draw shapes inside canvas after double-clicking into canvas.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-xjs/tools/ShapeTool.js2
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