SL-352 - another case where legacy content revealed a bug in weight remapping.

master
Brad Payne (Vir Linden) 2016-03-31 10:53:26 -04:00
parent 8365f3b2a0
commit ba1e3e4f86
1 changed files with 2 additions and 0 deletions

View File

@ -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)