diff options
author | Valerio Virgillito | 2012-05-08 14:41:27 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-08 14:41:27 -0700 |
commit | d220c02e246b30509b28a47fa04916ca2b8122e4 (patch) | |
tree | 4b9165b807b026fb67ec34e8a40dfcb7f1152685 /js/tools/SelectionTool.js | |
parent | 53747ce689ddcdc19e586b30d6f356b3b0539731 (diff) | |
parent | 15c7bdad38a83d192bd5a1d55a54362c12c73d38 (diff) | |
download | ninja-d220c02e246b30509b28a47fa04916ca2b8122e4.tar.gz |
Merge pull request #201 from ericmueller/Snapping
fixes for 2D and 3D translation.
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-x | js/tools/SelectionTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js index 855c7b8c..07c26b8c 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -504,7 +504,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, { | |||
504 | delta = vecUtils.vecSubtract( 3, data.pt1, data.pt0 ); | 504 | delta = vecUtils.vecSubtract( 3, data.pt1, data.pt0 ); |
505 | delta[0] = ~~delta[0]; | 505 | delta[0] = ~~delta[0]; |
506 | delta[1] = ~~delta[1]; | 506 | delta[1] = ~~delta[1]; |
507 | delta[2] = 0; | 507 | //delta[2] = 0; |
508 | var transMat = Matrix.Translation( delta ); | 508 | var transMat = Matrix.Translation( delta ); |
509 | this._moveElements(transMat); | 509 | this._moveElements(transMat); |
510 | } | 510 | } |