summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2017-02-23 19:38:12 +0200
committerandreykproductengine <akleshchev@productengine.com>2017-02-23 19:38:12 +0200
commit043d13d5e48b1397de1f84cb19b7d2d85a9757f1 (patch)
tree68e610a94daa3957dd57cd4afb6c2aa89eaea4aa
parentf88881884fe3fd72eb0cada7cb23095ae53f8658 (diff)
MAINT-2132 Fixed Avatar hasn't animation while moving if wear and detach object in edit mode
-rw-r--r--indra/newview/llselectmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 5ebf7cfe13..353c61da0c 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -6619,7 +6619,7 @@ void LLSelectMgr::updateSelectionCenter()
{
mSelectedObjects->mSelectType = getSelectTypeForObject(object);
- if (mSelectedObjects->mSelectType == SELECT_TYPE_ATTACHMENT && isAgentAvatarValid())
+ if (mSelectedObjects->mSelectType == SELECT_TYPE_ATTACHMENT && isAgentAvatarValid() && object->getParent() != NULL)
{
mPauseRequest = gAgentAvatarp->requestPause();
}