Shutting up a warning about invalid attachment points that are actualy semi valid.

meow-7.2.2
Liny 2011-01-20 23:28:48 -08:00
parent 3aa9a8b0e2
commit eccf1ecee8
1 changed files with 4 additions and 1 deletions

View File

@ -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;