diff options
author | Nivesh Rajbhandari | 2012-03-29 12:01:21 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-29 13:08:10 -0700 |
commit | 6b61de58f0733b40f64ed996933ac89927e922a1 (patch) | |
tree | 0f0dd7fd84450e78d8a0e01f551d2980d45d40da | |
parent | 3fd2cdb59027b3f973b9165db9db4fdd22026941 (diff) | |
download | ninja-6b61de58f0733b40f64ed996933ac89927e922a1.tar.gz |
We shouldn't set z to 0 for translate tool snapping because user may want to snap in 3d.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-x | js/tools/Translate3DToolBase.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/tools/Translate3DToolBase.js b/js/tools/Translate3DToolBase.js index 07b6d04d..005b9749 100755 --- a/js/tools/Translate3DToolBase.js +++ b/js/tools/Translate3DToolBase.js | |||
@@ -66,10 +66,6 @@ exports.Translate3DToolBase = Montage.create(ModifierToolBase, | |||
66 | delta[0] = 0; | 66 | delta[0] = 0; |
67 | delta[1] = 0; | 67 | delta[1] = 0; |
68 | } | 68 | } |
69 | else | ||
70 | { | ||
71 | delta[2] = 0; | ||
72 | } | ||
73 | this._delta = delta.slice(0); | 69 | this._delta = delta.slice(0); |
74 | } | 70 | } |
75 | 71 | ||