fixing some more merge errors

This commit is contained in:
Hazim Gazov
2010-04-22 00:11:47 -03:00
parent a9803a0f96
commit 9dbe415796
3 changed files with 12 additions and 9 deletions

View File

@@ -3485,7 +3485,6 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(LLInventoryItem* ite
LLVOAvatar* my_avatar = NULL; LLVOAvatar* my_avatar = NULL;
switch(item->getType()) switch(item->getType())
{
{ {
// <edit> I don't even think changing this did anything // <edit> I don't even think changing this did anything
//case LLAssetType::AT_CALLINGCARD: //case LLAssetType::AT_CALLINGCARD:

View File

@@ -6476,10 +6476,15 @@ BOOL LLVOAvatar::isWearingAttachment( const LLUUID& inv_item_id )
BOOL LLVOAvatar::isWearingUnsupportedAttachment( const LLUUID& inv_item_id ) BOOL LLVOAvatar::isWearingUnsupportedAttachment( const LLUUID& inv_item_id )
{ {
std::map<S32, LLUUID>::iterator end = mUnsupportedAttachmentPoints.end(); std::map<S32, LLUUID>::iterator end = mUnsupportedAttachmentPoints.end();
for(std::map<S32, LLUUID>::iterator iter = mUnsupportedAttachmentPoints.begin(); iter != end; ++iter) for(std::map<S32, LLUUID>::iterator iter = mUnsupportedAttachmentPoints.begin(); iter != end; ++iter)
if((*iter).second == inv_item_id) {
return TRUE; if((*iter).second == inv_item_id)
return FALSE; {
return TRUE;
}
}
return FALSE;
}
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// getWornAttachment() // getWornAttachment()
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@@ -504,6 +504,9 @@ public:
typedef std::map<S32, LLViewerJointAttachment*> attachment_map_t; typedef std::map<S32, LLViewerJointAttachment*> attachment_map_t;
attachment_map_t mAttachmentPoints; attachment_map_t mAttachmentPoints;
std::vector<LLPointer<LLViewerObject> > mPendingAttachment; std::vector<LLPointer<LLViewerObject> > mPendingAttachment;
// <edit>
std::map<S32, LLUUID> mUnsupportedAttachmentPoints;
// </edit>
//-------------------------------------------------------------------- //--------------------------------------------------------------------
// static preferences that are controlled by user settings/menus // static preferences that are controlled by user settings/menus
@@ -581,10 +584,6 @@ private:
const static LLUUID sStepSounds[LL_MCODE_END]; const static LLUUID sStepSounds[LL_MCODE_END];
const static LLUUID sStepSoundOnLand; const static LLUUID sStepSoundOnLand;
// <edit>
std::map<S32, LLUUID> mUnsupportedAttachmentPoints;
// </edit>
// Xml parse tree of avatar config file // Xml parse tree of avatar config file
static LLXmlTree sXMLTree; static LLXmlTree sXMLTree;
// Xml parse tree of avatar skeleton file // Xml parse tree of avatar skeleton file