diff options
author | Howard Stearns <aech@lindenlab.com> | 2022-01-24 16:52:29 +0000 |
---|---|---|
committer | Howard Stearns <aech@lindenlab.com> | 2022-01-24 16:52:29 +0000 |
commit | fec246a2e6d380971080d95446cc55059be01352 (patch) | |
tree | 358eca34c63a9256a26acadd0b3e379cb60dc0be /indra/newview/llviewerobject.cpp | |
parent | 67dc2924bf6f004326f8e22d1d92c4a071c946a4 (diff) | |
parent | 5ab34ccc5a5ec0abd6526b16379d7e29d8668ec4 (diff) |
Merged DRTVWR-544-maint into SL-316
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 31e80eb865..eba079a8d8 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -2442,11 +2442,19 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys, needs_refresh = needs_refresh || child->mUserSelected; } + static LLCachedControl<bool> allow_select_avatar(gSavedSettings, "AllowSelectAvatar", FALSE); if (needs_refresh) { LLSelectMgr::getInstance()->updateSelectionCenter(); dialog_refresh_all(); - } + } + else if (allow_select_avatar && asAvatar()) + { + // Override any avatar position updates received + // Works only if avatar was repositioned using build + // tools and build floater is visible + LLSelectMgr::getInstance()->overrideAvatarUpdates(); + } // Mark update time as approx. now, with the ping delay. |