aboutsummaryrefslogtreecommitdiff
path: root/js/tools/BrushTool.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-05 16:43:25 -0700
committerNivesh Rajbhandari2012-04-05 16:43:25 -0700
commitd42af4f0f5e893ab0e1f74f50055e0be3bd9e78e (patch)
tree4ed889d0d09d8f29c55380c4216d9523c41b2d0a /js/tools/BrushTool.js
parent8122876daad3e5a03b33f522751f3aca354615ca (diff)
downloadninja-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/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 1365896a..4347658a 100644
--- a/js/tools/BrushTool.js
+++ b/js/tools/BrushTool.js
@@ -305,7 +305,7 @@ exports.BrushTool = Montage.create(ShapeTool, {
305 305
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, this._useWebGL); 308 var elementModel = TagTool.makeElement(w, h, planeMat, midPt, newCanvas, true);
309 ElementMediator.addElements(newCanvas, elementModel.data, false); 309 ElementMediator.addElements(newCanvas, elementModel.data, false);
310 310
311 // create all the GL stuff 311 // create all the GL stuff