Missed change for rigged picking

This commit is contained in:
Lirusaito
2019-03-29 05:57:23 -04:00
parent 8de93f4120
commit 8f0bda3dab

View File

@@ -4498,7 +4498,7 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector4a& start, const LLVector4a&
bool LLVOVolume::treatAsRigged()
{
return (gFloaterTools->getVisible() || LLFloaterInspect::findInstance()) &&
return isSelected() &&
(isAttachment() || isAnimatedObject()) &&
mDrawable.notNull() &&
mDrawable->isState(LLDrawable::RIGGED);