Diagnostic llinfos spewage for attachment process.
This commit is contained in:
@@ -1769,6 +1769,22 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
|
||||
|
||||
LLViewerObject *sent_parentp = gObjectList.findObject(parent_uuid);
|
||||
|
||||
if(isAttachment())
|
||||
{
|
||||
llassert_always(gAgentID.notNull());
|
||||
if(parent_uuid == gAgentID)
|
||||
{
|
||||
static std::map<LLUUID,bool> state_map;
|
||||
std::map<LLUUID,bool>::iterator it = state_map.find(getID());
|
||||
|
||||
if(it == state_map.end() || (!it->second && sent_parentp))
|
||||
{
|
||||
it->second = sent_parentp != NULL;
|
||||
LL_INFOS("Attachment") << getID() << " ("<<getAttachmentPointName()<<") has " << (sent_parentp ? "" : "no ") << "parent." << llendl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Check to see if we have the corresponding viewer object for the parent.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user