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
commitea5e4e7c7490cf3e548d9858cdf73d93d5174199 (patch)
tree597d12c7ea119591f32a260942697e4051795a19 /indra/newview
parentd568dbd840f8d4c7c87863abfd523054acfa2e2c (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);
}