Erata for last commit (issue 1113).

This commit is contained in:
Aleric Inglewood
2013-12-29 01:49:33 +01:00
parent 2062431f23
commit 4416dafe73

View File

@@ -362,7 +362,12 @@ void LLViewerObject::markDead()
if (isSelected())
{
// This is needed in order to reset mPauseRequest in case this is an attachment.
LLSelectMgr::getInstance()->deselectObjectAndFamily(this);
// Note that using deselectObjectAndFamily here doesn't work because if the
// avatar is sitting on a pose ball then deselectObjectAndFamily tries to
// deselect that pose ball and does NOT include the avatar and attachments
// in this 'family'. That seems a bug to me because it just is very unlogical,
// but ok-- this works too.
LLSelectMgr::getInstance()->deselectObjectOnly(this, FALSE);
}
//</singu>