viewer#3131 crash in updateRiggingInfo
parent
934833ba97
commit
97f0a21421
|
|
@ -2218,9 +2218,11 @@ bool LLFace::calcPixelArea(F32& cos_angle_to_view_dir, F32& radius)
|
|||
if (rigInfo.needsUpdate())
|
||||
{
|
||||
LLVOVolume* vo_volume = (LLVOVolume*)mVObjp.get();
|
||||
LLVOAvatar* avatar = mVObjp->getAvatar();
|
||||
const LLMeshSkinInfo* skin = vo_volume->getSkinInfo();
|
||||
LLSkinningUtil::updateRiggingInfo(skin, avatar, face);
|
||||
if (skin)
|
||||
{
|
||||
LLSkinningUtil::updateRiggingInfo(skin, avatar, face);
|
||||
}
|
||||
}
|
||||
|
||||
// calculate the world space bounding box of the face by combining the bounding boxes of all the joints
|
||||
|
|
|
|||
Loading…
Reference in New Issue