Oh i love our Coyotl
This commit is contained in:
@@ -9,6 +9,17 @@
|
||||
<string>settings_rlv.xml</string>
|
||||
</array>
|
||||
|
||||
<key>SGAllowRiggedMeshSelection</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Allow selection of your worn rigged meshes in build mode</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>SGShiftCrouchToggle</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
@@ -20,7 +31,6 @@
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
|
||||
<key>SGServerVersionChangedNotification</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -2099,7 +2099,9 @@ LLViewerObject* LLVOAvatar::lineSegmentIntersectRiggedAttachments(const LLVector
|
||||
LLVector3* normal,
|
||||
LLVector3* bi_normal)
|
||||
{
|
||||
if (isSelf() && !gAgent.needsRenderAvatar())
|
||||
static const LLCachedControl<bool> allow_mesh_picking("SGAllowRiggedMeshSelection");
|
||||
|
||||
if (!allow_mesh_picking || (isSelf() && !gAgent.needsRenderAvatar()))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -2831,10 +2831,11 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector3& start, const LLVector3& e
|
||||
|
||||
if (mDrawable->isState(LLDrawable::RIGGED))
|
||||
{
|
||||
if (gFloaterTools->getVisible() && getAvatar()->isSelf())
|
||||
static const LLCachedControl<bool> allow_mesh_picking("SGAllowRiggedMeshSelection");
|
||||
if (allow_mesh_picking && gFloaterTools->getVisible() && getAvatar()->isSelf())
|
||||
{
|
||||
updateRiggedVolume();
|
||||
genBBoxes(FALSE);
|
||||
//genBBoxes(FALSE);
|
||||
volume = mRiggedVolume;
|
||||
transform = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user