summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 9d2f4fac32..caeee9f210 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -467,8 +467,12 @@ void LLAgent::resetView(BOOL reset_camera)
// By popular request, keep land selection while walking around. JC
// gParcelMgr->deselectLand();
- //FIXME: force deselect when walking? - RN
- // gSelectMgr->deselectAll();
+ // force deselect when walking and attachment is selected
+ // this is so people don't wig out when their avatar moves without animating
+ if (gSelectMgr->getSelection()->isAttachment())
+ {
+ gSelectMgr->deselectAll();
+ }
// Hide all popup menus
gMenuHolder->hideMenus();