aboutsummaryrefslogtreecommitdiff
path: root/js/tools/ShapeTool.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-03 15:23:08 -0800
committerNivesh Rajbhandari2012-02-03 15:23:08 -0800
commit4b8eb7442b41db7e06b639ba4a31bb7664209159 (patch)
treee72b2f8a3bb2d506626e21f8e54daf4146f31141 /js/tools/ShapeTool.js
parentd7ad2659d7ef8d0fffbb1cba8218061ebd516dd0 (diff)
downloadninja-4b8eb7442b41db7e06b639ba4a31bb7664209159.tar.gz
Update element planes after shapes are created so stage grid updates.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/ShapeTool.js')
-rw-r--r--js/tools/ShapeTool.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js
index 9a4399b4..4ccb7a8d 100644
--- a/js/tools/ShapeTool.js
+++ b/js/tools/ShapeTool.js
@@ -83,6 +83,7 @@ exports.ShapeTool = Montage.create(DrawingTool, {
83 } 83 }
84 } 84 }
85 this.RenderShape(drawData.width, drawData.height, drawData.planeMat, drawData.midPt, canvas); 85 this.RenderShape(drawData.width, drawData.height, drawData.planeMat, drawData.midPt, canvas);
86 NJevent("elementAdded", canvas);
86 } 87 }
87 88
88 this.endDraw(event); 89 this.endDraw(event);