MultiAttach only on SL

This commit is contained in:
Siana Gearz
2011-03-16 13:44:12 +01:00
parent 689337eb8c
commit 919d321d4a
5 changed files with 22 additions and 28 deletions

View File

@@ -87,6 +87,7 @@
#include "pipeline.h"
#include "llglheaders.h"
#include "hippogridmanager.h"
// [RLVa:KB]
#include "rlvhandler.h"
@@ -3595,7 +3596,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)
if (attachment_point != 0 && gHippoGridManager->getConnectedGrid()->isSecondLife())
{
// If we know the attachment point then we got here by clicking an
// "Attach to..." context menu item, so we should add, not replace.