diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp index 3ac6dd7fd9..d963ab0205 100644 --- a/indra/llappearance/llavatarappearance.cpp +++ b/indra/llappearance/llavatarappearance.cpp @@ -718,7 +718,8 @@ BOOL LLAvatarAppearance::allocateCharacterJoints( S32 num ) if (mSkeleton.size() != num) { clearSkeleton(); - mSkeleton = avatar_joint_list_t(num,NULL); + // mSkeleton = avatar_joint_list_t(num,NULL); + mSkeleton = avatar_joint_list_t(num, static_cast< LLAvatarJoint*>( NULL )); mNumBones = num; }