aboutsummaryrefslogtreecommitdiff
path: root/js/tools/SelectionTool.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-28 15:08:18 -0800
committerValerio Virgillito2012-02-28 15:08:18 -0800
commit8de40029442333114d81ac30a8886a995a3dc56b (patch)
treec647d6bb6fccd5dd52308e4d58a9673ed86125cb /js/tools/SelectionTool.js
parentb0b4d6492d6ddd3b7ab39c2f4d1c01b8e9bacfb6 (diff)
parenteb27ed35bf282262843de13b00af89a2bceac53f (diff)
downloadninja-8de40029442333114d81ac30a8886a995a3dc56b.tar.gz
Merge branch 'ToolFixes' of https://github.com/mqg734/ninja-internal into integration-candidate
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-xjs/tools/SelectionTool.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 37029e8c..83d52d52 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -305,6 +305,9 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
305 newHeight.push(_h + "px"); 305 newHeight.push(_h + "px");
306 306
307 viewUtils.setMatrixForElement(elt, previousMat); 307 viewUtils.setMatrixForElement(elt, previousMat);
308
309 this._targets[i].mat = previousMat;
310 this._targets[i].matInv = glmat4.inverse(previousMat, []);
308 } 311 }
309 } 312 }
310 if(addToUndoStack) 313 if(addToUndoStack)