SL-18857 FIXED Editing attachment before Shape can stop av turning for user

master
Maxim Nikolenko 2022-12-16 17:27:38 +02:00
parent efb96d8c6e
commit 200e185dff
1 changed files with 5 additions and 0 deletions

View File

@ -2359,6 +2359,11 @@ void LLAgentCamera::changeCameraToCustomizeAvatar()
gAgent.standUp(); // force stand up
gViewerWindow->getWindow()->resetBusyCount();
if (LLSelectMgr::getInstance()->getSelection()->isAttachment())
{
LLSelectMgr::getInstance()->deselectAll();
}
if (gFaceEditToolset)
{
LLToolMgr::getInstance()->setCurrentToolset(gFaceEditToolset);