Minor fixes

This commit is contained in:
Wojtek Figat
2025-03-09 23:02:06 +01:00
parent 7f8729451c
commit 09b23e2376
3 changed files with 3 additions and 3 deletions

View File

@@ -280,7 +280,7 @@ void AnimGraphExecutor::Update(AnimGraphInstanceData& data, float dt)
context.EmptyNodes.Length = 0.0f;
context.EmptyNodes.Nodes.Resize(_skeletonNodesCount, false);
for (int32 i = 0; i < _skeletonNodesCount; i++)
context.EmptyNodes.Nodes[i] = skeleton.Nodes[i].LocalTransform;
context.EmptyNodes.Nodes.Get()[i] = skeleton.Nodes.Get()[i].LocalTransform;
}
// Update the animation graph and gather skeleton nodes transformations in nodes local space