MultiAttach unbork attempt

This commit is contained in:
Siana Gearz
2011-03-31 23:43:24 +02:00
parent 4b4096857f
commit b34d9fb88e
8 changed files with 29 additions and 16 deletions

View File

@@ -3614,7 +3614,7 @@ void LLSelectMgr::sendAttach(U8 attachment_point)
if (0 == attachment_point ||
get_if_there(gAgent.getAvatarObject()->mAttachmentPoints, (S32)attachment_point, (LLViewerJointAttachment*)NULL))
{
if (attachment_point != 0 && gHippoGridManager->getConnectedGrid()->isSecondLife())
if (attachment_point != 0 && gHippoGridManager->getConnectedGrid()->supportsInvLinks())
{
// If we know the attachment point then we got here by clicking an
// "Attach to..." context menu item, so we should add, not replace.