aboutsummaryrefslogtreecommitdiff
path: root/js/tools/BrushTool.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-04-04 11:50:54 -0700
committerJose Antonio Marquez2012-04-04 11:50:54 -0700
commit0a469a14757b8cea262c21f652e75c85c9903f4b (patch)
treec388fdc93e9707e7d66f51ef41eb1d9b366716c7 /js/tools/BrushTool.js
parent6034e3aa1d033149ba9ca8f0578e0a95889a7e46 (diff)
parent8482e23cd9b8c4700b5130f2588e5eb24d376536 (diff)
downloadninja-0a469a14757b8cea262c21f652e75c85c9903f4b.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into FileIO
Diffstat (limited to 'js/tools/BrushTool.js')
-rw-r--r--js/tools/BrushTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js
index f7f0e4bf..2171d2c6 100644
--- a/js/tools/BrushTool.js
+++ b/js/tools/BrushTool.js
@@ -306,7 +306,7 @@ exports.BrushTool = Montage.create(ShapeTool, {
306 if (!canvas) { 306 if (!canvas) {
307 var newCanvas = NJUtils.makeNJElement("canvas", "Brushstroke", "shape", {"data-RDGE-id": NJUtils.generateRandom()}, true); 307 var newCanvas = NJUtils.makeNJElement("canvas", "Brushstroke", "shape", {"data-RDGE-id": NJUtils.generateRandom()}, true);
308 var elementModel = TagTool.makeElement(w, h, planeMat, midPt, newCanvas); 308 var elementModel = TagTool.makeElement(w, h, planeMat, midPt, newCanvas);
309 ElementMediator.addElement(newCanvas, elementModel.data, true); 309 ElementMediator.addElements(newCanvas, elementModel.data, false);
310 310
311 // create all the GL stuff 311 // create all the GL stuff
312 var world = this.getGLWorld(newCanvas, this._useWebGL); 312 var world = this.getGLWorld(newCanvas, this._useWebGL);