diff options
author | Nivesh Rajbhandari | 2012-02-27 15:39:16 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-27 15:39:16 -0800 |
commit | ef38731ae2769dcb2247db599cdfe62d38e34b28 (patch) | |
tree | 61094a731c9a30d395e3abfb61506014baaf8fc6 /js/tools/Translate3DToolBase.js | |
parent | d392751242f9a4aad4199c941fd416c19c422ee1 (diff) | |
download | ninja-ef38731ae2769dcb2247db599cdfe62d38e34b28.tar.gz |
Reset translation values as well when double-clicking to reset the rotation values.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-x | js/tools/Translate3DToolBase.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/tools/Translate3DToolBase.js b/js/tools/Translate3DToolBase.js index cbf76830..3d9191da 100755 --- a/js/tools/Translate3DToolBase.js +++ b/js/tools/Translate3DToolBase.js | |||
@@ -85,7 +85,6 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase, | |||
85 | { | 85 | { |
86 | // Reset to the identity matrix but retain the rotation values | 86 | // Reset to the identity matrix but retain the rotation values |
87 | item = this._targets[i]; | 87 | item = this._targets[i]; |
88 | elt = item.elt; | ||
89 | mat = item.mat.slice(0); | 88 | mat = item.mat.slice(0); |
90 | mat[12] = 0; | 89 | mat[12] = 0; |
91 | mat[13] = 0; | 90 | mat[13] = 0; |