aboutsummaryrefslogtreecommitdiff
path: root/js/tools/TranslateObject3DTool.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-06-12 07:09:56 -0700
committerPushkar Joshi2012-06-12 07:09:56 -0700
commitfa1dcaaed3d0ed83ef7982ff198dd241c8b9670e (patch)
treefbd5b770dcbf6a23f2b10971f2485a4ef4451c9f /js/tools/TranslateObject3DTool.js
parent71bc93ad0d53a77d70c688b2b3aacf694dd1de91 (diff)
parent6854a72504f57903bd5de003e377f2aefb02d0da (diff)
downloadninja-fa1dcaaed3d0ed83ef7982ff198dd241c8b9670e.tar.gz
Merge branch 'master' into pentool
Diffstat (limited to 'js/tools/TranslateObject3DTool.js')
-rwxr-xr-xjs/tools/TranslateObject3DTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/TranslateObject3DTool.js b/js/tools/TranslateObject3DTool.js
index f8b32d23..d9e558a4 100755
--- a/js/tools/TranslateObject3DTool.js
+++ b/js/tools/TranslateObject3DTool.js
@@ -89,7 +89,7 @@ exports.TranslateObject3DTool = Montage.create(Translate3DToolBase, {
89 var otherSnap = snapManager.findHitRecordForElement(elt); 89 var otherSnap = snapManager.findHitRecordForElement(elt);
90 if (otherSnap) hitRec = otherSnap; 90 if (otherSnap) hitRec = otherSnap;
91 } 91 }
92 if(elt === this.application.ninja.currentSelectedContainer) 92 if(elt === this.application.ninja.currentDocument.model.domContainer)
93 { 93 {
94 this._clickedOnStage = true; 94 this._clickedOnStage = true;
95 } 95 }