summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarpropertiesprocessor.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-30 22:06:59 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-31 01:47:30 +0300
commit4ffc6c3fde17de5e18370139274bbd44b1b61a23 (patch)
treec018f52d5750547316324325a14c64c8c9242089 /indra/newview/llavatarpropertiesprocessor.cpp
parentd4a799a1a8ce11a808c97d73c03f16d3b3e41597 (diff)
SL-15312 Tweaks and fixes
- Allowed resizing text fields for classifieds in profiles - Fixed mislabeled floater from picks to classifieds - Fixed classified floater's title - Added support to see multiple classifieds - Removed obsolete panels - Fixed pick requests for various menus - Fixed pick creation from landmarks - Improved online status handling - Updated headers in files
Diffstat (limited to 'indra/newview/llavatarpropertiesprocessor.cpp')
-rw-r--r--indra/newview/llavatarpropertiesprocessor.cpp27
1 files changed, 5 insertions, 22 deletions
diff --git a/indra/newview/llavatarpropertiesprocessor.cpp b/indra/newview/llavatarpropertiesprocessor.cpp
index 4b37c00967..dd0d06a8c8 100644
--- a/indra/newview/llavatarpropertiesprocessor.cpp
+++ b/indra/newview/llavatarpropertiesprocessor.cpp
@@ -116,22 +116,15 @@ void LLAvatarPropertiesProcessor::sendRequest(const LLUUID& avatar_id, EAvatarPr
return;
}
- // Cap is not ready for global use
- //std::string cap = gAgent.getRegionCapability("AgentProfile");
std::string cap;
switch (type)
{
case APT_PROPERTIES:
- if (cap.empty())
- {
- // indicate we're going to make a request
- sendAvatarPropertiesRequestMessage(avatar_id);
- }
- else
- {
- initAgentProfileCapRequest(avatar_id, cap);
- }
+ // indicate we're going to make a request
+ sendAvatarPropertiesRequestMessage(avatar_id);
+ // can use getRegionCapability("AgentProfile"), but it is heavy
+ // initAgentProfileCapRequest(avatar_id, cap);
break;
case APT_PICKS:
case APT_GROUPS:
@@ -193,17 +186,7 @@ void LLAvatarPropertiesProcessor::sendAvatarPropertiesRequest(const LLUUID& avat
void LLAvatarPropertiesProcessor::sendAvatarPicksRequest(const LLUUID& avatar_id)
{
- std::string cap = gAgent.getRegionCapability("AgentProfile");
-
- if (!cap.empty())
- {
- // AgentProfile capability covers picks
- sendAvatarPropertiesRequest(avatar_id);
- }
- else
- {
- sendGenericRequest(avatar_id, APT_PICKS, "avatarpicksrequest");
- }
+ sendGenericRequest(avatar_id, APT_PICKS, "avatarpicksrequest");
}
void LLAvatarPropertiesProcessor::sendAvatarNotesRequest(const LLUUID& avatar_id)