aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/elements
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/controllers/elements
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/controllers/elements')
-rwxr-xr-xjs/controllers/elements/shapes-controller.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/controllers/elements/shapes-controller.js b/js/controllers/elements/shapes-controller.js
index 514b1472..51ddea20 100755
--- a/js/controllers/elements/shapes-controller.js
+++ b/js/controllers/elements/shapes-controller.js
@@ -629,7 +629,6 @@ exports.ShapesController = Montage.create(CanvasController, {
629 world = new World(el, true); 629 world = new World(el, true);
630 el.elementModel.shapeModel.GLWorld = world; 630 el.elementModel.shapeModel.GLWorld = world;
631 el.elementModel.shapeModel.useWebGl = true; 631 el.elementModel.shapeModel.useWebGl = true;
632 el.elementModel.controller.setProperty(el, "-webkit-transform-style", "preserve-3d");
633 world.importJSON(worldData); 632 world.importJSON(worldData);
634 el.elementModel.shapeModel.GLGeomObj = world.getGeomRoot(); 633 el.elementModel.shapeModel.GLGeomObj = world.getGeomRoot();
635 } 634 }