diff options
author | Dave Parks <davep@lindenlab.com> | 2011-05-04 20:45:14 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-05-04 20:45:14 -0500 |
commit | 9cb31845bafe9188d9f90dc1330355c73fb96851 (patch) | |
tree | 9a74d095189f7e7a608679d70d42d5e58e005c7d /indra/llmath | |
parent | bce7b4f0980c3d5e8697a48487721097d732e9f3 (diff) |
SH-1497 Update mesh asset parser to use new format restrictions.
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 70e1e1f312..c44c95272e 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -2239,13 +2239,12 @@ bool LLVolume::unpackVolumeFaces(std::istream& is, S32 size) } - LLVector3 minp; - LLVector3 maxp; + LLVector3 minp(-0.5f, -0.5f, -0.5f); + LLVector3 maxp(0.5f, 0.5f, 0.5f); LLVector2 min_tc; LLVector2 max_tc; - minp.setValue(mdl[i]["PositionDomain"]["Min"]); - maxp.setValue(mdl[i]["PositionDomain"]["Max"]); + LLVector4a min_pos, max_pos; min_pos.load3(minp.mV); max_pos.load3(maxp.mV); |