diff options
author | Oz Linden <oz@lindenlab.com> | 2012-06-27 14:18:22 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-06-27 14:18:22 -0400 |
commit | 2c3e78f1f1f5851482e5e63d37af1325f3a19550 (patch) | |
tree | 1871ea15c18377defe5e20a198baf8072e791efc /indra/llprimitive | |
parent | eb03da6e993eb33e1fef9bf53268c66d325adf9a (diff) | |
parent | c9f1b1b5113031d5879e8fcdcec263626a7d3122 (diff) |
merge changes for DRTVWR-167
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/llmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index cb32a510b8..28ed051c55 100644 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -1026,7 +1026,8 @@ void LLModel::setVolumeFaceData( if (tc.get()) { - LLVector4a::memcpyNonAliased16((F32*) face.mTexCoords, (F32*) tc.get(), num_verts*2*sizeof(F32)); + U32 tex_size = (num_verts*2*sizeof(F32)+0xF)&~0xF; + LLVector4a::memcpyNonAliased16((F32*) face.mTexCoords, (F32*) tc.get(), tex_size); } else { |