Skip to content
Snippets Groups Projects
Commit c3702aab authored by prep's avatar prep
Browse files

Fix for path-826. Safeguarding against a mull weight being used

parent 843db677
Branches
Tags
No related merge requests found
...@@ -3768,6 +3768,8 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons ...@@ -3768,6 +3768,8 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons
LLVector4a* weight = vol_face.mWeights; LLVector4a* weight = vol_face.mWeights;
if ( weight )
{
LLMatrix4a bind_shape_matrix; LLMatrix4a bind_shape_matrix;
bind_shape_matrix.loadu(skin->mBindShapeMatrix); bind_shape_matrix.loadu(skin->mBindShapeMatrix);
...@@ -3847,6 +3849,7 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons ...@@ -3847,6 +3849,7 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons
} }
} }
} }
}
U32 LLVOVolume::getPartitionType() const U32 LLVOVolume::getPartitionType() const
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment