aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/element-mediator.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/mediators/element-mediator.js')
-rwxr-xr-xjs/mediators/element-mediator.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index fb3f2f27..919aaec1 100755
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -272,6 +272,18 @@ exports.ElementMediator = Montage.create(Component, {
272 item.element.elementModel.controller["set3DProperties"](item.element, item.properties, update3DModel); 272 item.element.elementModel.controller["set3DProperties"](item.element, item.properties, update3DModel);
273 } 273 }
274 274
275 /*
276 if(eventType === "Change") {
277 var undoLabel = "3D Properties change";
278 elements.forEach(function(elementObject) {
279 var swap = elementObject.properties;
280 elementObject.properties = elementObject.previousProperties;
281 elementObject.previousProperties = swap;
282 });
283 document.application.undoManager.add(undoLabel, this.set3DProperties, this, elements, eventType, source);
284 }
285 */
286
275 var els = elements.map(function(element) { 287 var els = elements.map(function(element) {
276 return element.element; 288 return element.element;
277 }); 289 });