mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-08-19 08:29:19 +08:00
Cutscene peds legs fix
This commit is contained in:
parent
ef1debfb41
commit
1eb8b0771b
@ -571,7 +571,7 @@ namespace CodeWalker.Rendering
|
|||||||
//case 61007: tag = 61163; break; //RB_L_ForeArmRoll: SKEL_L_Forearm //NOT GOOD
|
//case 61007: tag = 61163; break; //RB_L_ForeArmRoll: SKEL_L_Forearm //NOT GOOD
|
||||||
//case 5232: tag = 45509; break; //RB_L_ArmRoll: SKEL_L_UpperArm
|
//case 5232: tag = 45509; break; //RB_L_ArmRoll: SKEL_L_UpperArm
|
||||||
}
|
}
|
||||||
if (tag != bone.Tag)
|
if ((tag != bone.Tag) && (tag != bone.Parent?.Tag))
|
||||||
{
|
{
|
||||||
var obone = bone;
|
var obone = bone;
|
||||||
if (skel.BonesMap.TryGetValue(tag, out obone))
|
if (skel.BonesMap.TryGetValue(tag, out obone))
|
||||||
|
Loading…
Reference in New Issue
Block a user