aboutsummaryrefslogtreecommitdiff
path: root/js/tools/Translate3DToolBase.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-29 12:01:21 -0700
committerNivesh Rajbhandari2012-03-29 13:08:10 -0700
commit6b61de58f0733b40f64ed996933ac89927e922a1 (patch)
tree0f0dd7fd84450e78d8a0e01f551d2980d45d40da /js/tools/Translate3DToolBase.js
parent3fd2cdb59027b3f973b9165db9db4fdd22026941 (diff)
downloadninja-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>
Diffstat (limited to 'js/tools/Translate3DToolBase.js')
-rwxr-xr-xjs/tools/Translate3DToolBase.js4
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