summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2024-10-14 15:45:04 -0700
committerRider Linden <rider@lindenlab.com>2024-10-14 15:45:04 -0700
commit82ffb6e943224d5584ba00f922e4cbc5b0fa62af (patch)
tree0c3e1430895eb670f1042c162409ec08a6ca07f9 /indra/newview
parent2cd1f22f5b51708aaaf5d16a25847ef2c2832312 (diff)
Private Issue #297: Code review feedback.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewermessage.cpp6
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);
}
}