diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2026-02-10 14:59:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-10 14:59:36 -0500 |
| commit | e7cc46743b0a032a3091b3ea6922a4af07e5172a (patch) | |
| tree | a7ec6a161693d5685c6a30b602b4c3c02752153b /indra/newview/llinventorybridge.cpp | |
| parent | 53fb215df1101e690d6b03600cb52eeaf38a9c26 (diff) | |
| parent | b4a6af57a667d355e7347f1a3c13173b44b361ff (diff) | |
Merge pull request #5402 from secondlife/release/2026.01
26.01 -> 26.02
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
| -rw-r--r-- | indra/newview/llinventorybridge.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 542c0fdfdd..b4cce02bda 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -1860,7 +1860,14 @@ void LLItemBridge::performAction(LLInventoryModel* model, std::string action) { LLVector3d global_pos; landmark->getGlobalPos(global_pos); - LLLandmarkActions::getSLURLfromPosGlobal(global_pos, ©_slurl_to_clipboard_callback_inv, true); + if (!global_pos.isExactlyZero()) + { + LLLandmarkActions::getSLURLfromPosGlobal(global_pos, ©_slurl_to_clipboard_callback_inv, true); + } + else + { + LLNotificationsUtil::add("LandmarkLocationUnknown"); + } } } } |
