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

@@ -95,7 +95,7 @@ namespace FlaxEditor.CustomEditors.Editors
if (assetReference != null)
{
if (assetReference.UseSmallPicker)
height = 32;
height = 36;
if (string.IsNullOrEmpty(assetReference.TypeName))
{
}

View File

@@ -36,7 +36,7 @@ namespace FlaxEditor.CustomEditors.Editors
float height = 48;
if (assetReference.UseSmallPicker)
height = 32;
height = 36;
if (string.IsNullOrEmpty(assetReference.TypeName))
{

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