Fix issue 1113, "detaching editted attachment does not unfreeze avatar"

Detaching an attachment didn't reset the select managers pause request
for the avatar.
This commit is contained in:
Aleric Inglewood
2013-12-28 18:59:20 +01:00
parent c8017c7945
commit a4b2ecc4f7

View File

@@ -358,6 +358,14 @@ void LLViewerObject::markDead()
{
//llinfos << "Marking self " << mLocalID << " as dead." << llendl;
//<singu>
if (isSelected())
{
// This is needed in order to reset mPauseRequest in case this is an attachment.
LLSelectMgr::getInstance()->deselectObjectAndFamily(this);
}
//</singu>
// Root object of this hierarchy unlinks itself.
if (getParent())
{