aboutsummaryrefslogtreecommitdiff
path: root/js/tools/Translate3DToolBase.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-04 13:27:40 -0700
committerValerio Virgillito2012-04-04 13:27:40 -0700
commit9f1806a7134ec4744a8009e6a7467f5cea04cabf (patch)
treeb4038b10cb105cc9860f869e6bb372a74b05813c /js/tools/Translate3DToolBase.js
parent56a042a8ed5d1cb2cb82781952f09ffd6a8338ea (diff)
parent8482e23cd9b8c4700b5130f2588e5eb24d376536 (diff)
downloadninja-9f1806a7134ec4744a8009e6a7467f5cea04cabf.tar.gz
Merge branch 'refs/heads/master' into components
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, []);