summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-04-26 21:11:16 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-04-26 21:11:16 +0300
commitb78b5da79a74deb8efe5486b251b2db8361e1485 (patch)
treee7ff18fa04a38b077cb9592da539b810da315f5e /indra/newview/llinventorybridge.cpp
parente5339156ca6c406ca57ca2d21aea92f9b1795733 (diff)
parent5e5c5ca09c0add728f366ada48243b82f6aed38c (diff)
Merged in lindenlab/viewer-bear
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 8c1769e16a..a50a66a8ce 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -6302,7 +6302,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;
}