From 6796577b9d554d7d231b0dc32fc665cf5b89f92e Mon Sep 17 00:00:00 2001 From: Asval Date: Mon, 28 Aug 2023 23:57:56 +0200 Subject: [PATCH] whoops --- FModel/Views/Snooper/Animations/Skeleton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FModel/Views/Snooper/Animations/Skeleton.cs b/FModel/Views/Snooper/Animations/Skeleton.cs index 4f2dd73e..c0c7293b 100644 --- a/FModel/Views/Snooper/Animations/Skeleton.cs +++ b/FModel/Views/Snooper/Animations/Skeleton.cs @@ -229,7 +229,7 @@ public class Skeleton : IDisposable if (IsAnimated) { boneMatrix = _boneMatriceAtFrame[bone.Index]; - parentBoneMatrix = _boneMatriceAtFrame[bone.ParentIndex]; + parentBoneMatrix = bone.IsRoot ? boneMatrix : _boneMatriceAtFrame[bone.ParentIndex]; } else {