aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/tools/SelectionTool.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 13a04944..5f48f74d 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -451,7 +451,10 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
451 if(this._use3DMode) 451 if(this._use3DMode)
452 { 452 {
453 curMat = item.mat; 453 curMat = item.mat;
454 glmat4.multiply(curMat, qMat, curMat); 454
455 curMat[12] += transMat[12];
456 curMat[13] += transMat[13];
457 curMat[14] += transMat[14];
455 viewUtils.setMatrixForElement( elt, curMat, true); 458 viewUtils.setMatrixForElement( elt, curMat, true);
456 this._targets[i].mat = curMat; 459 this._targets[i].mat = curMat;
457 } 460 }