PanteraPolnocy 2025-11-29 16:24:16 +01:00
commit c38178b07a
1 changed files with 2 additions and 5 deletions

View File

@ -387,13 +387,10 @@ void FSManipRotateJoint::setJoint(LLJoint* joint)
void FSManipRotateJoint::setAvatar(LLVOAvatar* avatar)
{
mAvatar = avatar;
if (!avatar)
mJoint = nullptr;
if (!mJoint)
return;
if (mAvatar && mJoint)
setJoint(avatar->getJoint(mJoint->getJointNum()));
}