mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 13:04:45 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user