From cc0b5e660d57f1f124295386c4eb3a2673d98bd2 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Tue, 18 Mar 2014 18:38:30 -0400 Subject: [PATCH 1/6] Touch missed spots for picking rigged mesh --- indra/newview/llvovolume.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index ea9e5605c..dbb276389 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -40,6 +40,7 @@ #include "llviewercontrol.h" #include "lldir.h" #include "llflexibleobject.h" +#include "llfloaterinspect.h" #include "llfloatertools.h" #include "llmaterialid.h" #include "llmaterialtable.h" @@ -3643,7 +3644,7 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector4a& start, const LLVector4a& if (mDrawable->isState(LLDrawable::RIGGED)) { static const LLCachedControl allow_mesh_picking("SGAllowRiggedMeshSelection"); - if (allow_mesh_picking && gFloaterTools->getVisible() && getAvatar()->isSelf()) + if (allow_mesh_picking && (gFloaterTools->getVisible() || LLFloaterInspect::instanceExists())) { updateRiggedVolume(); //genBBoxes(FALSE); @@ -3825,10 +3826,8 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector4a& start, const LLVector4a& bool LLVOVolume::treatAsRigged() { - return gFloaterTools->getVisible() && + return (gFloaterTools->getVisible() || LLFloaterInspect::instanceExists()) && isAttachment() && - getAvatar() && - getAvatar()->isSelf() && mDrawable.notNull() && mDrawable->isState(LLDrawable::RIGGED); } From e43d718e0ffe74a70efbe1f2c9fb607d507fb0ff Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Tue, 18 Mar 2014 19:18:57 -0400 Subject: [PATCH 2/6] Sappadilli's fix for the mini button --- indra/newview/skins/default/xui/en-us/floater_tools.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/skins/default/xui/en-us/floater_tools.xml b/indra/newview/skins/default/xui/en-us/floater_tools.xml index c6f7658b3..2a07de761 100644 --- a/indra/newview/skins/default/xui/en-us/floater_tools.xml +++ b/indra/newview/skins/default/xui/en-us/floater_tools.xml @@ -52,7 +52,7 @@ function="BuildTool.setTool" parameter="Land" /> -