From 69dba9ace7a1b77f57ee418abfc2e0fd0e0a9896 Mon Sep 17 00:00:00 2001 From: Jonathan Duran Date: Fri, 27 Apr 2012 11:50:06 -0700 Subject: Refix brush tool elementAdded event Signed-off-by: Jonathan Duran --- js/tools/BrushTool.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js') diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js index 4e13bd43..ded56ecc 100644 --- a/js/tools/BrushTool.js +++ b/js/tools/BrushTool.js @@ -417,6 +417,9 @@ exports.BrushTool = Montage.create(ShapeTool, { // TODO - update the shape's info only. shapeModel will likely need an array of shapes. } + //now send the event that will add this canvas to the timeline + NJevent("elementAdded", newCanvas); + //if(newCanvas.elementModel.isShape) if (true) { -- cgit v1.2.3