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:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user