Minor fixes
This commit is contained in:
@@ -95,7 +95,7 @@ namespace FlaxEditor.CustomEditors.Editors
|
|||||||
if (assetReference != null)
|
if (assetReference != null)
|
||||||
{
|
{
|
||||||
if (assetReference.UseSmallPicker)
|
if (assetReference.UseSmallPicker)
|
||||||
height = 32;
|
height = 36;
|
||||||
if (string.IsNullOrEmpty(assetReference.TypeName))
|
if (string.IsNullOrEmpty(assetReference.TypeName))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ namespace FlaxEditor.CustomEditors.Editors
|
|||||||
|
|
||||||
float height = 48;
|
float height = 48;
|
||||||
if (assetReference.UseSmallPicker)
|
if (assetReference.UseSmallPicker)
|
||||||
height = 32;
|
height = 36;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(assetReference.TypeName))
|
if (string.IsNullOrEmpty(assetReference.TypeName))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ void AnimGraphExecutor::Update(AnimGraphInstanceData& data, float dt)
|
|||||||
context.EmptyNodes.Length = 0.0f;
|
context.EmptyNodes.Length = 0.0f;
|
||||||
context.EmptyNodes.Nodes.Resize(_skeletonNodesCount, false);
|
context.EmptyNodes.Nodes.Resize(_skeletonNodesCount, false);
|
||||||
for (int32 i = 0; i < _skeletonNodesCount; i++)
|
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
|
// Update the animation graph and gather skeleton nodes transformations in nodes local space
|
||||||
|
|||||||
Reference in New Issue
Block a user