diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-01-21 13:29:05 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-01-21 13:29:05 +0800 |
| commit | 71577cea319238b54b283a25ee9270e10f11a0bc (patch) | |
| tree | 8b26dee2fb5f56925c1dbd0c0e09be104677c46d /indra/newview/llinventorybridge.cpp | |
| parent | f301d1c4afa30b3a2845ea9b92a6ed0561e58b78 (diff) | |
| parent | ca6601cbb8d4ef9828466c8d1316ae28d0c7b7b8 (diff) | |
Merge tag 'Second_Life_Release#ca6601cb-2026.01' into 2026.01
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 fe6f2bbe46..7d9fad5a54 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"); + } } } } |
