MAINT-6125 Mesh avatar deforms constantly

FIXED
meow-7.2.2
ruslantproductengine 2016-07-14 17:10:59 +03:00
parent b3ae56b427
commit bb4a958a00
2 changed files with 5 additions and 2 deletions

View File

@ -465,7 +465,7 @@ LLViewerOctreeGroup::LLViewerOctreeGroup(OctreeNode* node)
{
LLVector4a tmp;
tmp.splat(0.f);
mExtents[0] = mExtents[1] = mObjectBounds[0] = mObjectBounds[0] = mObjectBounds[1] =
mExtents[0] = mExtents[1] = mObjectBounds[0] = mObjectBounds[1] =
mObjectExtents[0] = mObjectExtents[1] = tmp;
mBounds[0] = node->getCenter();

View File

@ -1753,7 +1753,10 @@ BOOL LLVOVolume::updateGeometry(LLDrawable *drawable)
dirtySpatialGroup(drawable->isState(LLDrawable::IN_REBUILD_Q1));
compiled = TRUE;
lodOrSculptChanged(drawable, compiled);
genBBoxes(FALSE);
if (!mLODChanged)
{
genBBoxes(FALSE);
}
}
// it has its own drawable (it's moved) or it has changed UVs or it has changed xforms from global<->local
else