summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2022-12-16 17:27:38 +0200
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2022-12-16 17:27:38 +0200
commit200e185dff108605f0dde45c42b3d827b7a9f0b4 (patch)
treee892f15f4ca08a3bba9fffcf0b853a8d38455356 /indra/newview
parentefb96d8c6e47e2ccc2dd608984205c083577dd2f (diff)
SL-18857 FIXED Editing attachment before Shape can stop av turning for user
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llagentcamera.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index ecaa2cb316..77131efd75 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -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);