aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
Diffstat (limited to 'js/mediators')
-rwxr-xr-xjs/mediators/element-mediator.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index d62fa1f8..eac0ca54 100755
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -90,9 +90,12 @@ exports.ElementMediator = Montage.create(NJComponent, {
90 _addElement: { 90 _addElement: {
91 value: function(el, rules, noEvent) { 91 value: function(el, rules, noEvent) {
92 ElementController.addElement(el, rules); 92 ElementController.addElement(el, rules);
93 var p3d = this.get3DProperties(el); 93// var p3d = this.get3DProperties(el);
94 if(p3d) { 94// if(p3d) {
95 el.elementModel.controller["set3DProperties"](el, [p3d], 0, true); 95// el.elementModel.controller["set3DProperties"](el, [p3d], 0, true);
96// }
97 if(el.elementModel && el.elementModel.props3D) {
98 el.elementModel.props3D.init(el, false);
96 } 99 }
97 if(!noEvent) { 100 if(!noEvent) {
98 this.application.ninja.documentController.activeDocument.needsSave = true; 101 this.application.ninja.documentController.activeDocument.needsSave = true;