Innitial commit. Majority of texture baking moved into LLVOAvatarSelf. Very WIP. Not advisable to build off of this, although it does compile and mostly work.
This commit is contained in:
@@ -3647,7 +3647,6 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(LLInventoryItem* ite
|
||||
return false;
|
||||
|
||||
bool allowed = false;
|
||||
LLVOAvatar* my_avatar = NULL;
|
||||
|
||||
switch(item->getType())
|
||||
{
|
||||
@@ -3656,8 +3655,7 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(LLInventoryItem* ite
|
||||
break;
|
||||
|
||||
case LLAssetType::AT_OBJECT:
|
||||
my_avatar = gAgentAvatarp;
|
||||
if(my_avatar && !my_avatar->isWearingAttachment(item->getUUID()))
|
||||
if(isAgentAvatarValid() && !gAgentAvatarp->isWearingAttachment(item->getUUID()))
|
||||
{
|
||||
allowed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user