diff options
author | Dave Parks <davep@lindenlab.com> | 2010-04-19 23:31:38 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-04-19 23:31:38 -0500 |
commit | 8b88b093b9b59ba530e5e716609390fd00015efa (patch) | |
tree | 1b4a56479018feb251817387cf1aadc34534ba10 /indra/newview/lldrawable.cpp | |
parent | 12499cebcba81175ae5d92926f5ec89632f00926 (diff) |
Fix for ridiculous bug that causes all sitting avatars to rebuild their geometry every frame.
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-rw-r--r-- | indra/newview/lldrawable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index 390e950d75..03eee12707 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -533,7 +533,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); } |