summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-04-03 14:53:49 -0700
committerRider Linden <rider@lindenlab.com>2019-04-03 14:53:49 -0700
commit8f1e75071e081f1040a371cb2c1bc420befab948 (patch)
tree18958414ed6e245e101de71a4439d2499e9dce80 /indra/llmath
parente24237b6af504ff8faea02c8ab22344f2452364e (diff)
parent82fbf642617444e0233e73d3bd5909c7c5285445 (diff)
Merge
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llvolume.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index 605032e0a8..e32625796c 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -2191,9 +2191,10 @@ BOOL LLVolume::generate()
LLVector4a* end_profile = profile+sizeT;
LLVector4a offset = mPathp->mPath[s].mPos;
+ // hack to work around MAINT-5660 for debug until we can suss out
+ // what is wrong with the path generated that inserts NaNs...
if (!offset.isFinite3())
- { // MAINT-5660; don't know why this happens, does not affect Release builds
- LL_WARNS() << "LLVolume using path with non-finite points. Resetting them to 0,0,0" << LL_ENDL;
+ {
offset.clear();
}