summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2026-03-12 19:09:06 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2026-03-12 19:09:06 +0200
commit82d018806a79553cc53a91027760eed5282f2d6b (patch)
tree06ccac7daa2abbb3ec39ff34c1ce161dfc4e823f /indra/newview/llinventorybridge.cpp
parent28958ab7ae368d53b21888d178a9eb04ac6d82d2 (diff)
parent18db816ef7552785ffa26d6d0397efbb341a999f (diff)
Merge branch 'main' into marchcat/slua-26.1
# Conflicts: # autobuild.xml # indra/llwindow/llwindowwin32.cpp # indra/newview/llappviewer.cpp # indra/newview/llinventorygallerymenu.cpp
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 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, &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");
+ }
}
}
}