From da71b0bafe1e607c145218b178526f1eafb81019 Mon Sep 17 00:00:00 2001 From: Trish Date: Tue, 28 Apr 2026 19:38:31 -0400 Subject: fix picks from moved regions #5519 --- indra/newview/llpanelprofilepicks.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llpanelprofilepicks.cpp b/indra/newview/llpanelprofilepicks.cpp index 1c1b7a1cc4..2e5b6707f1 100644 --- a/indra/newview/llpanelprofilepicks.cpp +++ b/indra/newview/llpanelprofilepicks.cpp @@ -910,6 +910,10 @@ void LLPanelProfilePick::sendParcelInfoRequest() void LLPanelProfilePick::processParcelInfo(const LLParcelData& parcel_data) { + // Region might have moved since the pick was saved; refresh the stored global position + // using the parcel info so map/teleport use the current location. + setPosGlobal(LLVector3d(parcel_data.global_x, parcel_data.global_y, parcel_data.global_z)); + setPickLocation(createLocationText(LLStringUtil::null, parcel_data.name, parcel_data.sim_name, getPosGlobal())); // We have received parcel info for the requested ID so clear it now. -- cgit v1.3