diff options
author | Dave Parks <davep@lindenlab.com> | 2011-03-09 17:08:52 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-03-09 17:08:52 -0600 |
commit | 85f099a868224bead0718e964214b29dfd769ffa (patch) | |
tree | 7de5e9e68619f362e3b18a43e5f93e21cb4a6e96 /indra | |
parent | ff37381e8a369719332e287be9649cd1200f8371 (diff) |
SH-1063 Fix for some rigged attachments preventing avatars from impostoring (don't let rigged attachments stretch avatar bounding box beyond avatar skeleton).
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index aa7349f129..a73bac39cf 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -1428,7 +1428,7 @@ void LLVOAvatar::getSpatialExtents(LLVector4a& newMin, LLVector4a& newMax) if (attached_object && !attached_object->isHUDAttachment())
{
LLDrawable* drawable = attached_object->mDrawable;
- if (drawable)
+ if (drawable && !drawable->isState(LLDrawable::RIGGED))
{
LLSpatialBridge* bridge = drawable->getSpatialBridge();
if (bridge)
|