aboutsummaryrefslogtreecommitdiff
path: root/js/tools/Translate3DToolBase.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-04-04 11:34:19 -0700
committerArmen Kesablyan2012-04-04 11:34:19 -0700
commit211f514882144de8df69ebb2106f3b446be1dda0 (patch)
treec8eaf3d9fc7ac1bc841320e73d41818fbfb5827d /js/tools/Translate3DToolBase.js
parent5a5d0f68dd82b829405a0b301dd11b4cf385c8d5 (diff)
parenta11ef2eed7049835c8bdfa50a2b893632c46eaa0 (diff)
downloadninja-211f514882144de8df69ebb2106f3b446be1dda0.tar.gz
Merge branch 'refs/heads/master' into BugFixes
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-xjs/tools/Translate3DToolBase.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/Translate3DToolBase.js b/js/tools/Translate3DToolBase.js
index 07b6d04d..4dca6313 100755
--- a/js/tools/Translate3DToolBase.js
+++ b/js/tools/Translate3DToolBase.js
@@ -195,7 +195,7 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase,
195 this._targets = []; 195 this._targets = [];
196 for(var i = 0; i < len; i++) 196 for(var i = 0; i < len; i++)
197 { 197 {
198 var elt = this.application.ninja.selectedElements[i]._element; 198 var elt = this.application.ninja.selectedElements[i];
199 199
200 var curMat = viewUtils.getMatrixFromElement(elt); 200 var curMat = viewUtils.getMatrixFromElement(elt);
201 var curMatInv = glmat4.inverse(curMat, []); 201 var curMatInv = glmat4.inverse(curMat, []);