summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2026-02-04 17:04:26 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2026-02-04 17:05:15 +0200
commit459bd1e943de916d4d50e2b918da756a0526f88b (patch)
tree27efdfa3fb4cabc4c203669caf351791a4ba9ece /indra/newview/llinventorybridge.cpp
parentc5c9b1fe1e69ca8b406f9bbffa8218e2687ea1ce (diff)
parentb4a6af57a667d355e7347f1a3c13173b44b361ff (diff)
Merge branch 'release/2026.01' into project/voice_moderation
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 848f28f933..aa884b8e9f 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, &copy_slurl_to_clipboard_callback_inv, true);
+ if (!global_pos.isExactlyZero())
+ {
+ LLLandmarkActions::getSLURLfromPosGlobal(global_pos, &copy_slurl_to_clipboard_callback_inv, true);
+ }
+ else
+ {
+ LLNotificationsUtil::add("LandmarkLocationUnknown");
+ }
}
}
}