diff options
author | Rider Linden <rider@lindenlab.com> | 2024-10-14 15:45:04 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2024-10-14 15:45:04 -0700 |
commit | 82ffb6e943224d5584ba00f922e4cbc5b0fa62af (patch) | |
tree | 0c3e1430895eb670f1042c162409ec08a6ca07f9 /indra/newview | |
parent | 2cd1f22f5b51708aaaf5d16a25847ef2c2832312 (diff) |
Private Issue #297: Code review feedback.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index d307f20b1f..33d9b5eb67 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -6674,12 +6674,8 @@ void process_script_teleport_request(LLMessageSystem* msg, void**) if (flags & BEACON_SHOW_MAP) { bool old_auto_focus = instance->getAutoFocus(); - instance->setAutoFocus(false); + instance->setAutoFocus(flags & BEACON_FOCUS_MAP); instance->openFloater("center"); - if (flags & BEACON_FOCUS_MAP) - { - instance->setFocus(true); - } instance->setAutoFocus(old_auto_focus); } } |