diff options
author | Graham Linden <graham@lindenlab.com> | 2013-06-25 16:25:22 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-06-25 16:25:22 -0700 |
commit | de4892b3373ef0c4562dba43a05fd19c973e9f30 (patch) | |
tree | 6f5766ea7799379edd70bca25d318691af23b182 | |
parent | 705a0ab6770459d89474b3495b05214315a49c94 (diff) |
NORSPEC-288 remove unassertable asserts from restoring code to condition normals for this fix
-rwxr-xr-x | indra/newview/llface.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index f021f4ed0f..700b31f8d3 100755 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -817,12 +817,6 @@ BOOL LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f, size.mul(scale); } - // Catch potential badness from normalization before it happens - // - llassert(mat_normal.mMatrix[0].isFinite3() && (mat_normal.mMatrix[0].dot3(mat_normal.mMatrix[0]).getF32() > F_APPROXIMATELY_ZERO)); - llassert(mat_normal.mMatrix[1].isFinite3() && (mat_normal.mMatrix[1].dot3(mat_normal.mMatrix[1]).getF32() > F_APPROXIMATELY_ZERO)); - llassert(mat_normal.mMatrix[2].isFinite3() && (mat_normal.mMatrix[2].dot3(mat_normal.mMatrix[2]).getF32() > F_APPROXIMATELY_ZERO)); - mat_normal.mMatrix[0].normalize3fast(); mat_normal.mMatrix[1].normalize3fast(); mat_normal.mMatrix[2].normalize3fast(); |