Fix for broken player peds animating

This commit is contained in:
dexy
2022-01-29 20:26:13 +11:00
Unverified
parent 4a00d67658
commit b65d250774
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -516,7 +516,7 @@ namespace CodeWalker.Rendering
var dwbl = this.Key;
var skel = Skeleton;
var bones = skel?.Bones?.Items;
var bones = skel?.BonesSorted;//.Bones?.Items;//
if (bones == null)
{ return; }
+1
View File
@@ -3551,6 +3551,7 @@ namespace CodeWalker.Rendering
dskel.BonesMap[srcbone.Tag] = srcbone;
}
}
dskel.BonesSorted = skel.BonesSorted;//this is pretty hacky. TODO: try and fix all this! animate only the frag skeleton!
}
}
}