summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-04-26 21:02:00 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-04-26 21:02:00 +0300
commit5e5c5ca09c0add728f366ada48243b82f6aed38c (patch)
tree896b668529e2a54c647f014d8d3a70ef1418790b /indra/newview/llinventorybridge.cpp
parent59457cfcfe946223c2001fa9d9b66683b988315b (diff)
parenta44f03573d5d64102775922ff0e61f1bce2d1a22 (diff)
Merged SL-10400 and SL-10401
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 00b7732ee9..074b0c9c14 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -6307,7 +6307,7 @@ bool confirm_attachment_rez(const LLSD& notification, const LLSD& response)
if (!gAgentAvatarp->canAttachMoreObjects())
{
LLSD args;
- args["MAX_ATTACHMENTS"] = llformat("%d", MAX_AGENT_ATTACHMENTS);
+ args["MAX_ATTACHMENTS"] = llformat("%d", gAgentAvatarp->getMaxAttachments());
LLNotificationsUtil::add("MaxAttachmentsOnOutfit", args);
return false;
}