diff options
| author | Dave Parks <davep@lindenlab.com> | 2011-06-06 19:27:47 -0500 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2011-06-06 19:27:47 -0500 | 
| commit | a58e70261ef1584e243f813e858d22164ab00fd8 (patch) | |
| tree | a6eaf54dd71600f03d41e71196065343e4305e30 /indra | |
| parent | c4b7728f0ef19efcaef02ccabf7d98f5b340cfd3 (diff) | |
SH-101 Fix for asset when uploading some models.
Diffstat (limited to 'indra')
| -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 337fa59f76..cee6927d20 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.50001f && mBaseHull[j].mV[k] >= -0.50001f); +				llassert(mBaseHull[j].mV[k] <= 0.501f && mBaseHull[j].mV[k] >= -0.501f);  				//convert to 16-bit normalized across domain  				U16 val = (U16) (((mBaseHull[j].mV[k]-min.mV[k])/range.mV[k])*65535); | 
