diff options
author | Jonathan Duran | 2012-04-23 11:36:09 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-04-23 11:36:09 -0700 |
commit | 0475cb7e37601366ec07d77fcea44269d3d49633 (patch) | |
tree | 0d98822e40c0ed996665904a562e6e03862fe301 /js/tools | |
parent | 415a6d4eaa5340ad4bbf4362a9a4b75ef870a7fb (diff) | |
download | ninja-0475cb7e37601366ec07d77fcea44269d3d49633.tar.gz |
Fix Pen Tool not broadcasting elementAdded event
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/PenTool.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js index 7fc8dd95..3ffe0b62 100755 --- a/js/tools/PenTool.js +++ b/js/tools/PenTool.js | |||
@@ -619,6 +619,8 @@ exports.PenTool = Montage.create(ShapeTool, { | |||
619 | // TODO - update the shape's info only. shapeModel will likely need an array of shapes. | 619 | // TODO - update the shape's info only. shapeModel will likely need an array of shapes. |
620 | } | 620 | } |
621 | 621 | ||
622 | NJevent("elementAdded", newCanvas); | ||
623 | |||
622 | if(newCanvas.elementModel.isShape) | 624 | if(newCanvas.elementModel.isShape) |
623 | { | 625 | { |
624 | this.application.ninja.selectionController.selectElement(newCanvas); | 626 | this.application.ninja.selectionController.selectElement(newCanvas); |