diff options
author | Nivesh Rajbhandari | 2012-02-03 15:23:08 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-03 15:23:08 -0800 |
commit | 4b8eb7442b41db7e06b639ba4a31bb7664209159 (patch) | |
tree | e72b2f8a3bb2d506626e21f8e54daf4146f31141 /js/tools/ShapeTool.js | |
parent | d7ad2659d7ef8d0fffbb1cba8218061ebd516dd0 (diff) | |
download | ninja-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.js | 1 |
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); |