diff options
author | Dave Parks <davep@lindenlab.com> | 2011-06-07 00:10:24 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-06-07 00:10:24 -0500 |
commit | faf9693be3f34cd1ef28e21ae1bd2bc466221c4e (patch) | |
tree | 332b8d1e39f60d3486386fff4017fdfcc76651dd /indra/llprimitive | |
parent | d58c560e727e1b868c1a2364471a3138b59d9eae (diff) |
Make basehull assert even more forgiving (only error out on 10% over bounds).
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/llmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index cee6927d20..e3b68156ca 100644 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -2237,7 +2237,7 @@ LLSD LLModel::Decomposition::asLLSD() const { for (U32 k = 0; k < 3; k++) { - llassert(mBaseHull[j].mV[k] <= 0.501f && mBaseHull[j].mV[k] >= -0.501f); + llassert(mBaseHull[j].mV[k] <= 0.51f && mBaseHull[j].mV[k] >= -0.51f); //convert to 16-bit normalized across domain U16 val = (U16) (((mBaseHull[j].mV[k]-min.mV[k])/range.mV[k])*65535); |