Fix for ridiculous bug that causes all sitting avatars to rebuild their geometry every frame.

(transplanted from dd9dfa0c1629b21268f91ae0e46a51ca9d29f861)
master
Dave Parks 2010-04-19 23:31:38 -05:00
parent d568dbd840
commit ea5e4e7c74
1 changed files with 1 additions and 1 deletions

View File

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