Skip to content
Snippets Groups Projects
Commit c5164cde authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Missed a file

parent b508a447
No related branches found
No related tags found
No related merge requests found
...@@ -3281,11 +3281,10 @@ BOOL LLModelPreview::render() ...@@ -3281,11 +3281,10 @@ BOOL LLModelPreview::render()
skin, getPreviewAvatar()); skin, getPreviewAvatar());
LLMatrix4a bind_shape_matrix = skin->mBindShapeMatrix; LLMatrix4a bind_shape_matrix = skin->mBindShapeMatrix;
U32 max_joints = LLSkinningUtil::getMaxJointCount();
for (U32 j = 0; j < buffer->getNumVerts(); ++j) for (U32 j = 0; j < buffer->getNumVerts(); ++j)
{ {
LLMatrix4a final_mat; LLMatrix4a final_mat;
LLSkinningUtil::getPerVertexSkinMatrixChecked(weight[j], mat, final_mat, max_joints); LLSkinningUtil::getPerVertexSkinMatrixChecked(weight[j], mat, final_mat);
//VECTORIZE THIS //VECTORIZE THIS
LLVector4a& v = face.mPositions[j]; LLVector4a& v = face.mPositions[j];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment