Fix for ridiculous bug that causes all sitting avatars to rebuild their geometry every frame.
(transplanted from dd9dfa0c1629b21268f91ae0e46a51ca9d29f861)master
parent
d568dbd840
commit
ea5e4e7c74
|
|
@ -523,7 +523,7 @@ F32 LLDrawable::updateXform(BOOL undamped)
|
|||
{
|
||||
// snap to final position
|
||||
dist_squared = 0.0f;
|
||||
if (!isRoot())
|
||||
if (getVOVolume() && !isRoot())
|
||||
{ //child prim snapping to some position, needs a rebuild
|
||||
gPipeline.markRebuild(this, LLDrawable::REBUILD_POSITION, TRUE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue