diff options
| author | Trish <sl.trish.ace@gmail.com> | 2026-04-28 19:38:31 -0400 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-05-08 22:37:43 +0300 |
| commit | da71b0bafe1e607c145218b178526f1eafb81019 (patch) | |
| tree | 740aa2b7714748717ca632bc2ba9bbd6e5e2cc82 | |
| parent | dfeed0c398f961bce8cdbc24fbfc1cab758a9fd4 (diff) | |
fix picks from moved regions #5519
| -rw-r--r-- | indra/newview/llpanelprofilepicks.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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. |
