Call updateLOD when geom enters rigged state.
This commit is contained in:
@@ -4733,7 +4733,14 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
|
||||
|
||||
if (is_rigged)
|
||||
{
|
||||
drawablep->setState(LLDrawable::RIGGED);
|
||||
if (!drawablep->isState(LLDrawable::RIGGED))
|
||||
{
|
||||
drawablep->setState(LLDrawable::RIGGED);
|
||||
|
||||
//first time this is drawable is being marked as rigged,
|
||||
// do another LoD update to use avatar bounding box
|
||||
vobj->updateLOD();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user