aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-03 10:56:53 -0700
committerNivesh Rajbhandari2012-04-03 10:56:53 -0700
commit350d290d5fd0903289d55a7f4a6e643040e3d65e (patch)
treeec382d4722527b523bfded31155f49eaddf0a6f6 /js/mediators
parentfa95b83177dfaa091364edfa1219648d71bf9a85 (diff)
downloadninja-350d290d5fd0903289d55a7f4a6e643040e3d65e.tar.gz
IKNinja-1375 - After WebGL conversion from PI, Selection tool gets deactivated or becomes non-functional to the shape.
Need to set elementModel.isIn2DSnapCache to false when replacing element. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/mediators')
-rwxr-xr-xjs/mediators/element-mediator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index d62fa1f8..3eeab9c4 100755
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -132,6 +132,7 @@ exports.ElementMediator = Montage.create(NJComponent, {
132 value: function(el, el2) { 132 value: function(el, el2) {
133 el2.elementModel = el.elementModel; 133 el2.elementModel = el.elementModel;
134 this.application.ninja.currentDocument.documentRoot.replaceChild(el2, el); 134 this.application.ninja.currentDocument.documentRoot.replaceChild(el2, el);
135 el2.elementModel.isIn2DSnapCache = false;
135 } 136 }
136 }, 137 },
137 138