summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-04-02 12:27:34 -0700
committerGraham Linden <graham@lindenlab.com>2019-04-02 12:27:34 -0700
commitd78ed764b538cf0fa0eba3e39fbbf99ef059660a (patch)
tree5f19fcdd4826e15c39ca70f3f6b3a7aee22e4a69 /indra/llmath
parent14629ca3d661c8ec798ad072c4e739571d9c1196 (diff)
parent5cf18cb867be567bf921f0b94a78fd822e4112ad (diff)
Merge 6.1.2 LoveMeRender new hotness
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();
}