MultiAttach only on SL
This commit is contained in:
@@ -253,17 +253,6 @@
|
|||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
</map>
|
</map>
|
||||||
|
|
||||||
<key>BeauchampUseInventoryLinks</key>
|
|
||||||
<map>
|
|
||||||
<key>Comment</key>
|
|
||||||
<string>When making a new outfit, use links for no-copy items</string>
|
|
||||||
<key>Persist</key>
|
|
||||||
<integer>1</integer>
|
|
||||||
<key>Type</key>
|
|
||||||
<string>Boolean</string>
|
|
||||||
<key>Value</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
</map>
|
|
||||||
<key>MoyFastMiniMap</key>
|
<key>MoyFastMiniMap</key>
|
||||||
<map>
|
<map>
|
||||||
<key>Comment</key>
|
<key>Comment</key>
|
||||||
|
|||||||
@@ -140,6 +140,8 @@
|
|||||||
#include "llviewerjoystick.h"
|
#include "llviewerjoystick.h"
|
||||||
#include "llfollowcam.h"
|
#include "llfollowcam.h"
|
||||||
|
|
||||||
|
#include "hippogridmanager.h"
|
||||||
|
|
||||||
// [RLVa:KB] - Checked: 2010-09-27 (RLVa-1.1.3b)
|
// [RLVa:KB] - Checked: 2010-09-27 (RLVa-1.1.3b)
|
||||||
#include "rlvhandler.h"
|
#include "rlvhandler.h"
|
||||||
#include "rlvinventory.h"
|
#include "rlvinventory.h"
|
||||||
@@ -7346,7 +7348,8 @@ void LLAgent::makeNewOutfit(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL fUseLinks = !gSavedSettings.getBOOL("UseInventoryLinks");
|
BOOL fUseLinks = !gSavedSettings.getBOOL("UseInventoryLinks") &&
|
||||||
|
gHippoGridManager->getConnectedGrid()->isSecondLife();
|
||||||
BOOL fUseOutfits = gSavedSettings.getBOOL("UseOutfitFolders");
|
BOOL fUseOutfits = gSavedSettings.getBOOL("UseOutfitFolders");
|
||||||
|
|
||||||
LLAssetType::EType typeDest = (fUseOutfits) ? LLAssetType::AT_MY_OUTFITS : LLAssetType::AT_CLOTHING;
|
LLAssetType::EType typeDest = (fUseOutfits) ? LLAssetType::AT_MY_OUTFITS : LLAssetType::AT_CLOTHING;
|
||||||
|
|||||||
@@ -109,6 +109,8 @@
|
|||||||
#include "llviewerjoystick.h"
|
#include "llviewerjoystick.h"
|
||||||
#include "lltoolmgr.h"
|
#include "lltoolmgr.h"
|
||||||
|
|
||||||
|
#include "hippogridmanager.h"
|
||||||
|
|
||||||
// [RLVa:KB]
|
// [RLVa:KB]
|
||||||
#include "rlvhandler.h"
|
#include "rlvhandler.h"
|
||||||
#include "llattachmentsmgr.h"
|
#include "llattachmentsmgr.h"
|
||||||
@@ -526,6 +528,10 @@ BOOL LLInvFVBridge::isClipboardPasteable() const
|
|||||||
|
|
||||||
BOOL LLInvFVBridge::isClipboardPasteableAsLink() const
|
BOOL LLInvFVBridge::isClipboardPasteableAsLink() const
|
||||||
{
|
{
|
||||||
|
if (!gHippoGridManager->getConnectedGrid()->isSecondLife())
|
||||||
|
{
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
if (!LLInventoryClipboard::instance().hasContents() || !isAgentInventory())
|
if (!LLInventoryClipboard::instance().hasContents() || !isAgentInventory())
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@@ -1376,11 +1382,14 @@ BOOL LLItemBridge::isItemCopyable() const
|
|||||||
LLViewerInventoryItem* item = getItem();
|
LLViewerInventoryItem* item = getItem();
|
||||||
if (item && !item->getIsLinkType())
|
if (item && !item->getIsLinkType())
|
||||||
{
|
{
|
||||||
// All items can be copied since you can
|
if(!gHippoGridManager->getConnectedGrid()->isSecondLife()) {
|
||||||
// at least paste-as-link the item, though you
|
return (item->getPermissions().allowCopyBy(gAgent.getID()));
|
||||||
// still may not be able paste the item.
|
} else {
|
||||||
return TRUE;
|
// All items can be copied since you can
|
||||||
// return (item->getPermissions().allowCopyBy(gAgent.getID()));
|
// at least paste-as-link the item, though you
|
||||||
|
// still may not be able paste the item.
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
@@ -2392,7 +2401,8 @@ void LLFolderBridge::folderOptionsMenu()
|
|||||||
if(!(LLXmlImport::sImportInProgress && LLXmlImport::sImportHasAttachments))
|
if(!(LLXmlImport::sImportInProgress && LLXmlImport::sImportHasAttachments))
|
||||||
{
|
{
|
||||||
// </edit>
|
// </edit>
|
||||||
mItems.push_back(std::string("Add To Outfit"));
|
if (gHippoGridManager->getConnectedGrid()->isSecondLife())
|
||||||
|
mItems.push_back(std::string("Add To Outfit"));
|
||||||
mItems.push_back(std::string("Wear Items"));
|
mItems.push_back(std::string("Wear Items"));
|
||||||
mItems.push_back(std::string("Replace Outfit"));
|
mItems.push_back(std::string("Replace Outfit"));
|
||||||
// <edit>
|
// <edit>
|
||||||
|
|||||||
@@ -87,6 +87,7 @@
|
|||||||
#include "pipeline.h"
|
#include "pipeline.h"
|
||||||
|
|
||||||
#include "llglheaders.h"
|
#include "llglheaders.h"
|
||||||
|
#include "hippogridmanager.h"
|
||||||
|
|
||||||
// [RLVa:KB]
|
// [RLVa:KB]
|
||||||
#include "rlvhandler.h"
|
#include "rlvhandler.h"
|
||||||
@@ -3595,7 +3596,7 @@ void LLSelectMgr::sendAttach(U8 attachment_point)
|
|||||||
if (0 == attachment_point ||
|
if (0 == attachment_point ||
|
||||||
get_if_there(gAgent.getAvatarObject()->mAttachmentPoints, (S32)attachment_point, (LLViewerJointAttachment*)NULL))
|
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
|
// If we know the attachment point then we got here by clicking an
|
||||||
// "Attach to..." context menu item, so we should add, not replace.
|
// "Attach to..." context menu item, so we should add, not replace.
|
||||||
|
|||||||
@@ -647,15 +647,6 @@ public:
|
|||||||
std::string mClientTag; //Zwagoth's new client identification system. -HgB
|
std::string mClientTag; //Zwagoth's new client identification system. -HgB
|
||||||
LLColor4 mClientColor; //Zwagoth's new client identification system. -HgB
|
LLColor4 mClientColor; //Zwagoth's new client identification system. -HgB
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
// Private member variables.
|
// Private member variables.
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user