diff options
author | Nivesh Rajbhandari | 2012-03-22 14:24:46 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-22 14:24:46 -0700 |
commit | 636014cf5d824909993d7dc3510fbe6ce2fc72f1 (patch) | |
tree | 2d148b138b9d283fdd6228d31801c5924cf70d01 /js/tools/PenTool.js | |
parent | 6965b72f1f42f7280bc5e5e52d08b3d64d106831 (diff) | |
download | ninja-636014cf5d824909993d7dc3510fbe6ce2fc72f1.tar.gz |
WebGL needs to have 3d styles to render.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/PenTool.js')
-rwxr-xr-x | js/tools/PenTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js index 60ef4f92..17756772 100755 --- a/js/tools/PenTool.js +++ b/js/tools/PenTool.js | |||
@@ -584,7 +584,7 @@ exports.PenTool = Montage.create(ShapeTool, { | |||
584 | if (!canvas) { | 584 | if (!canvas) { |
585 | var newCanvas = null; | 585 | var newCanvas = null; |
586 | newCanvas = NJUtils.makeNJElement("canvas", "Subpath", "shape", {"data-RDGE-id": NJUtils.generateRandom()}, true); | 586 | newCanvas = NJUtils.makeNJElement("canvas", "Subpath", "shape", {"data-RDGE-id": NJUtils.generateRandom()}, true); |
587 | var elementModel = TagTool.makeElement(parseInt(w), parseInt(h), planeMat, midPt, newCanvas); | 587 | var elementModel = TagTool.makeElement(parseInt(w), parseInt(h), planeMat, midPt, newCanvas, this._useWebGL); |
588 | ElementMediator.addElement(newCanvas, elementModel.data, true); | 588 | ElementMediator.addElement(newCanvas, elementModel.data, true); |
589 | 589 | ||
590 | // create all the GL stuff | 590 | // create all the GL stuff |