Permalink
Browse files

Un-break rigged normals when software skinning.

  • Loading branch information...
1 parent f62fded commit 34fd992fb93204071a4456924cdae7d15852ca01 @Shyotl Shyotl committed Jan 13, 2017
Showing with 2 additions and 1 deletion.
  1. +2 −1 indra/newview/llvoavatar.cpp
@@ -9785,9 +9785,10 @@ void LLVOAvatar::updateSoftwareSkinnedVertices(const LLMeshSkinInfo* skin, const
if (norm)
{
+ LLVector4a& n = vol_face.mNormals[j];
final_mat.invert();
final_mat.transpose();
- final_mat.affineTransform(v, norm[j]);
+ final_mat.affineTransform(n, norm[j]);
}
}
}

0 comments on commit 34fd992

Please sign in to comment.