diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-03-31 10:53:26 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-03-31 10:53:26 -0400 |
commit | ba1e3e4f86f969932f9bdc077b716a7a647d6fb7 (patch) | |
tree | 7f70e6f9a9cb091aad666c91dccd6ffd850654d0 /indra | |
parent | 8365f3b2a088508136bb04295c187953d7e9ed97 (diff) |
SL-352 - another case where legacy content revealed a bug in weight remapping.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/llmath/llvolume.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 206330fd53..725e50ee2b 100755 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -4594,6 +4594,7 @@ LLVolumeFace::LLVolumeFace(const LLVolumeFace& src) mTexCoords(NULL), mIndices(NULL), mWeights(NULL), + mWeightsRemapped(FALSE), mOctree(NULL) { mExtents = (LLVector4a*) ll_aligned_malloc_16(sizeof(LLVector4a)*3); @@ -4665,6 +4666,7 @@ LLVolumeFace& LLVolumeFace::operator=(const LLVolumeFace& src) ll_aligned_free_16(mWeights); mWeights = NULL; } + mWeightsRemapped = src.mWeightsRemapped; } if (mNumIndices) |