diff options
author | Graham Linden <graham@lindenlab.com> | 2013-06-14 09:32:23 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-06-14 09:32:23 -0700 |
commit | fec6ab591ef644ee8058742f16849ca9ff53c6a6 (patch) | |
tree | e197c0504aa3fe32a5048db668d8d014288da2f3 | |
parent | 8d35d9ee2f2942a5b5a298ae534946a862bb1ba8 (diff) |
Disable asserts in CalculateTangentArray (discussed with davep) to avoid debugging interruptions from bad assets
-rwxr-xr-x | indra/llmath/llvolume.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 1932272afb..c4e1f0c84c 100755 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -7300,13 +7300,15 @@ void CalculateTangentArray(U32 vertexCount, const LLVector4a *vertex, const LLVe tangent[a] = tsubn; + /* + These are going off on invalid input and hindering other debugging. llassert(llfinite(tangent[a].getF32ptr()[0])); llassert(llfinite(tangent[a].getF32ptr()[1])); llassert(llfinite(tangent[a].getF32ptr()[2])); llassert(!llisnan(tangent[a].getF32ptr()[0])); llassert(!llisnan(tangent[a].getF32ptr()[1])); - llassert(!llisnan(tangent[a].getF32ptr()[2])); + llassert(!llisnan(tangent[a].getF32ptr()[2]));*/ } else { //degenerate, make up a value |