Skip to content
Snippets Groups Projects
Commit 5372c124 authored by Kitty Barnett's avatar Kitty Barnett
Browse files

- fixed : can't send a message (RemoveInventoryItem) while composing a different one (ObjectDetach)

--HG--
branch : RLVa
parent 7f376e2b
No related branches found
No related tags found
No related merge requests found
...@@ -772,10 +772,15 @@ void RlvForceWear::done() ...@@ -772,10 +772,15 @@ void RlvForceWear::done()
{ {
gMessageSystem->nextBlockFast(_PREHASH_ObjectData); gMessageSystem->nextBlockFast(_PREHASH_ObjectData);
gMessageSystem->addU32Fast(_PREHASH_ObjectLocalID, (*itAttachObj)->getLocalID()); gMessageSystem->addU32Fast(_PREHASH_ObjectLocalID, (*itAttachObj)->getLocalID());
}
gMessageSystem->sendReliable(gAgent.getRegionHost());
for (std::list<const LLViewerObject*>::const_iterator itAttachObj = m_remAttachments.begin();
itAttachObj != m_remAttachments.end(); ++itAttachObj)
{
pAppearanceMgr->removeCOFItemLinks((*itAttachObj)->getAttachmentItemID(), false); pAppearanceMgr->removeCOFItemLinks((*itAttachObj)->getAttachmentItemID(), false);
} }
gMessageSystem->sendReliable(gAgent.getRegionHost());
m_remAttachments.clear(); m_remAttachments.clear();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment