aboutsummaryrefslogtreecommitdiff
path: root/js/tools/Translate3DToolBase.js
diff options
context:
space:
mode:
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, []);