summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorAnchor <none@none>2019-04-10 11:47:57 -0700
committerAnchor <none@none>2019-04-10 11:47:57 -0700
commit4b1c786c6e7236d45be33bbf216be142dbfa33c2 (patch)
treee414dd7a512d6d885b3f6e1ac2ea236ec4e82619 /indra/llmath
parent83fe55c429181a2adb67346db79becf00d501536 (diff)
parent5cf18cb867be567bf921f0b94a78fd822e4112ad (diff)
Merge
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llvolume.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index ba284574c8..e7a8ca2f9d 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -2191,6 +2191,13 @@ 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())
+ {
+ offset.clear();
+ }
+
LLVector4a tmp;
// Run along the profile.