Minor fixes

This commit is contained in:
Wojtek Figat
2025-03-17 16:37:28 +01:00
parent 7ee2e66881
commit 80df074b5f
2 changed files with 2 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ void AnimationGraph::FindDependencies(AnimGraphBase* graph)
{
for (const auto& node : graph->Nodes)
{
if (node.Type == GRAPH_NODE_MAKE_TYPE(9, 24))
if (node.Type == GRAPH_NODE_MAKE_TYPE(9, 24) && node.Assets.Count() > 0)
{
const auto function = node.Assets[0].As<AnimationGraphFunction>();
if (function)

View File

@@ -79,7 +79,7 @@ namespace FlaxEngine.GUI
public Color Color;
/// <summary>
/// The text shadow color (tint and opacity). Set to transparent to disable shadow drawing.
/// The text shadow color (tint and opacity). Transparent color disables shadow drawing.
/// </summary>
[EditorOrder(30)]
public Color ShadowColor;