diff options
author | Nivesh Rajbhandari | 2012-04-05 16:43:25 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-05 16:43:25 -0700 |
commit | d42af4f0f5e893ab0e1f74f50055e0be3bd9e78e (patch) | |
tree | 4ed889d0d09d8f29c55380c4216d9523c41b2d0a /js/tools/PenTool.js | |
parent | 8122876daad3e5a03b33f522751f3aca354615ca (diff) | |
download | ninja-d42af4f0f5e893ab0e1f74f50055e0be3bd9e78e.tar.gz |
-webkit-transform-style needs to be set to preserve-3d for shapes regardless of whether they are 2d shapes or WebGL shapes.
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 7f6f190a..7fc8dd95 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, this._useWebGL); | 587 | var elementModel = TagTool.makeElement(parseInt(w), parseInt(h), planeMat, midPt, newCanvas, true); |
588 | ElementMediator.addElements(newCanvas, elementModel.data, false); | 588 | ElementMediator.addElements(newCanvas, elementModel.data, false); |
589 | 589 | ||
590 | // create all the GL stuff | 590 | // create all the GL stuff |