aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-22 16:41:00 -0800
committerNivesh Rajbhandari2012-02-22 16:41:00 -0800
commit5272d5585b0fbae233d829ac9a9b5207838ec74c (patch)
treea6420c0b47875205624ec5de55d9b0968f63bf9a /js/helper-classes/3D
parent7b9b1e6dab88875b85230fc6f4fa0fca94e8b82f (diff)
parent3285038757aed8bf200fb6a97ebbf2f49a998869 (diff)
downloadninja-5272d5585b0fbae233d829ac9a9b5207838ec74c.tar.gz
Merge branch 'refs/heads/ToolFixes' into WebGLMaterials
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-xjs/helper-classes/3D/snap-manager.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/helper-classes/3D/snap-manager.js b/js/helper-classes/3D/snap-manager.js
index 0a950658..ada6960b 100755
--- a/js/helper-classes/3D/snap-manager.js
+++ b/js/helper-classes/3D/snap-manager.js
@@ -1087,6 +1087,7 @@ var SnapManager = exports.SnapManager = Montage.create(Component, {
1087 1087
1088 // we need to check the orientation of the bounds 1088 // we need to check the orientation of the bounds
1089 var nrm = MathUtils.getNormalFromBounds3D( bounds3D ); 1089 var nrm = MathUtils.getNormalFromBounds3D( bounds3D );
1090 if (MathUtils.fpSign(nrm[2]) == 0) return null;
1090 var zNrm = nrm[2]; 1091 var zNrm = nrm[2];
1091 var dist; 1092 var dist;
1092 1093