summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-04-19 23:39:19 -0500
committerDave Parks <davep@lindenlab.com>2010-04-19 23:39:19 -0500
commite275b7a658ee29ca4ce3dd77908ddd4c34749449 (patch)
treef5b2f701c9856db6b0dfb13ae4d6a40eaae9b46e /indra/newview/lldrawable.cpp
parent1f3e0ae090f04929296e94dc3a3128ab3ac73247 (diff)
parente994b9dcee82b510dc881e2b14d053a27fe35472 (diff)
merge
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-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 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);
}