diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 5f030435dc1bd36a35bc25a6f05ff844e4ab1b99..e6df4f4fd12967395c49effcdcb88ec6f963c147 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -5375,7 +5375,12 @@ void LLVOAvatar::addAttachmentPosOverridesForObject(LLViewerObject *vo) { pJoint->setId( currentId ); const LLVector3& jointPos = pSkinData->mAlternateBindMatrix[i].getTranslation(); - //if (!jointPos.isNull()) + if ((jointPos-pJoint->getDefaultPosition()).isNull()) + { + LL_DEBUGS("Avatar") << "Attachment pos override ignored for " << pJoint->getName() + << ", pos " << jointPos << " is same as default pos" << LL_ENDL; + } + else { //Set the joint position pJoint->addAttachmentPosOverride( jointPos, mesh_id, avString() );