mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 15:34:47 +08:00
Fix for broken player peds animating
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user