Fix for bones on peds drawables with existing skeletons. Also included code to use geometry-specific bone matrices where boneIds array is used, but commented out since it never seems necessary (leaving in for reference)

This commit is contained in:
dexy
2019-11-09 21:07:41 +11:00
Unverified
parent 20545145a5
commit 03fa5575bf
5 changed files with 73 additions and 2 deletions
+8
View File
@@ -796,6 +796,14 @@ namespace CodeWalker.Rendering
{
tintpal.SetVSResource(context, 0);
}
//if (geom.BoneTransforms != null)
//{
// SetBoneMatrices(context, geom.BoneTransforms);
// defaultBoneMatricesBound = false;
//}
}
public void SetBoneMatrices(DeviceContext context, Matrix3_s[] matrices)