From fb02c657db5b763d471a4b09fd5929198da60c4f Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 1 Mar 2012 16:54:27 -0800 Subject: revert removing the webkit transform from elements. Signed-off-by: Valerio Virgillito --- js/mediators/element-mediator.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'js/mediators') diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js index 60a75992..127f73e1 100755 --- a/js/mediators/element-mediator.js +++ b/js/mediators/element-mediator.js @@ -90,11 +90,10 @@ exports.ElementMediator = Montage.create(NJComponent, { _addElement: { value: function(el, rules, noEvent) { ElementController.addElement(el, rules); - // Commenting this out because we should not add 3D properties by default when creating new elements. -// var p3d = this.get3DProperties(el); -// if(p3d) { -// el.elementModel.controller["set3DProperties"](el, [p3d], 0, true); -// } + var p3d = this.get3DProperties(el); + if(p3d) { + el.elementModel.controller["set3DProperties"](el, [p3d], 0, true); + } if(!noEvent) { this.application.ninja.documentController.activeDocument.needsSave = true; NJevent("elementAdded", el); -- cgit v1.2.3