Hold shift to select rigged mesh with SGAllowRiggedMeshSelection = 1

Old behavior + shift with = 2
Thanks for the contribution, Router!
This commit is contained in:
Lirusaito
2019-03-29 00:56:01 -04:00
parent 20c4090f71
commit 84da9d4758
4 changed files with 17 additions and 7 deletions

View File

@@ -3512,7 +3512,8 @@ public:
if (vobj->isAvatar())
{
LLVOAvatar* avatar = (LLVOAvatar*) vobj;
if (gFloaterTools->getVisible() || LLFloaterInspect::findInstance())
bool allow_rigged_pick();
if (allow_rigged_pick())
{
LLViewerObject* hit = avatar->lineSegmentIntersectRiggedAttachments(mStart, mEnd, -1, mPickTransparent, mFaceHit, &intersection, mTexCoord, mNormal, mTangent);
if (hit)