Merge remote-tracking branch 'singu/master'

This commit is contained in:
Aleric Inglewood
2013-07-29 00:08:05 +02:00
86 changed files with 2446 additions and 510 deletions

View File

@@ -6211,7 +6211,7 @@ LLViewerJointAttachment* LLVOAvatar::getTargetAttachmentPoint(LLViewerObject* vi
if (isSelf() && attachmentID == 127 && gSavedSettings.getBOOL("SGDetachBridge"))
{
llinfos << "Bridge detected! detaching" << llendl;
LLAppearanceMgr::getInstance()->removeItemFromAvatar(viewer_object->getAttachmentItemID());
LLVOAvatarSelf::detachAttachmentIntoInventory(viewer_object->getAttachmentItemID());
return 0;
}
// attachment = get_if_there(mAttachmentPoints, 1, (LLViewerJointAttachment*)NULL); // Arbitrary using 1 (chest)