diff options
Diffstat (limited to 'indra/newview/lllandmarkactions.h')
-rw-r--r-- | indra/newview/lllandmarkactions.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/indra/newview/lllandmarkactions.h b/indra/newview/lllandmarkactions.h index c74072c0f4..ce3ed76090 100644 --- a/indra/newview/lllandmarkactions.h +++ b/indra/newview/lllandmarkactions.h @@ -53,12 +53,12 @@ public: static bool landmarkAlreadyExists(); /** - * @brief Searches landmark for parcel agent is currently in. - * @return Returns landmark for agent parcel or NULL. + * @brief Searches landmark for agent global position. + * @return Returns landmark or NULL. * * *TODO: dzaporozhan: There can be many landmarks for single parcel. */ - static LLViewerInventoryItem* findLandmarkForAgentParcel(); + static LLViewerInventoryItem* findLandmarkForAgentPos(); /** * @brief Checks whether agent has rights to create landmark for current parcel. @@ -77,14 +77,6 @@ public: const std::string& name, const std::string& desc, const LLUUID& folder_id); - - /** - * @brief Trying to find in inventory a landmark of the current parcel. - * Normally items should contain only one item, - * because we can create the only landmark per parcel according to Navigation spec. - */ - static void collectParcelLandmark(LLInventoryModel::item_array_t& items); - /** * @brief Creates SLURL for given global position. */ |