From eccf1ecee8cd1488060ebcf3e4634efd6f4b699b Mon Sep 17 00:00:00 2001 From: Liny Date: Thu, 20 Jan 2011 23:28:48 -0800 Subject: [PATCH] Shutting up a warning about invalid attachment points that are actualy semi valid. --- indra/newview/llvoavatar.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 457ec176b7..c41687233f 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -5795,7 +5795,10 @@ LLViewerJointAttachment* LLVOAvatar::getTargetAttachmentPoint(LLViewerObject* vi if (!attachment) { - llwarns << "Object attachment point invalid: " << attachmentID << llendl; + if(attachmentID != 127 && !((attachmentID > 38) && (attachmentID <= 68))) + { + llwarns << "Object attachment point invalid: " << attachmentID << llendl; + } // attachment = get_if_there(mAttachmentPoints, 1, (LLViewerJointAttachment*)NULL); // Arbitrary using 1 (chest) // [SL:KB] - Patch: Appearance-LegacyMultiAttachment | Checked: 2010-08-28 (Catznip-2.2.0a) | Added: Catznip2.1.2a S32 idxAttachPt = 1;