fixing some more merge errors
This commit is contained in:
@@ -3486,7 +3486,6 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(LLInventoryItem* ite
|
||||
|
||||
switch(item->getType())
|
||||
{
|
||||
{
|
||||
// <edit> I don't even think changing this did anything
|
||||
//case LLAssetType::AT_CALLINGCARD:
|
||||
// // not allowed
|
||||
|
||||
@@ -6477,9 +6477,14 @@ BOOL LLVOAvatar::isWearingUnsupportedAttachment( const LLUUID& inv_item_id )
|
||||
{
|
||||
std::map<S32, LLUUID>::iterator end = mUnsupportedAttachmentPoints.end();
|
||||
for(std::map<S32, LLUUID>::iterator iter = mUnsupportedAttachmentPoints.begin(); iter != end; ++iter)
|
||||
{
|
||||
if((*iter).second == inv_item_id)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
// getWornAttachment()
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -504,6 +504,9 @@ public:
|
||||
typedef std::map<S32, LLViewerJointAttachment*> attachment_map_t;
|
||||
attachment_map_t mAttachmentPoints;
|
||||
std::vector<LLPointer<LLViewerObject> > mPendingAttachment;
|
||||
// <edit>
|
||||
std::map<S32, LLUUID> mUnsupportedAttachmentPoints;
|
||||
// </edit>
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// static preferences that are controlled by user settings/menus
|
||||
@@ -581,10 +584,6 @@ private:
|
||||
const static LLUUID sStepSounds[LL_MCODE_END];
|
||||
const static LLUUID sStepSoundOnLand;
|
||||
|
||||
// <edit>
|
||||
std::map<S32, LLUUID> mUnsupportedAttachmentPoints;
|
||||
// </edit>
|
||||
|
||||
// Xml parse tree of avatar config file
|
||||
static LLXmlTree sXMLTree;
|
||||
// Xml parse tree of avatar skeleton file
|
||||
|
||||
Reference in New Issue
Block a user