summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-04-19 23:31:38 -0500
committerDave Parks <davep@lindenlab.com>2010-04-19 23:31:38 -0500
commit1f4a4d62555836147ef5f5f94df725aa7fb49369 (patch)
treec02ebfac7dfab23107c1c711bf451bf89906d4f9 /indra/newview
parenta20546a5dd82d16410b2c8d88c3f38d0833b6d3e (diff)
Fix for ridiculous bug that causes all sitting avatars to rebuild their geometry every frame.
(transplanted from dd9dfa0c1629b21268f91ae0e46a51ca9d29f861)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lldrawable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 38eda5bd2e..ed6a791e7f 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -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);
}