From 80df074b5fd23cc275ba2a6e06505e7103322278 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 17 Mar 2025 16:37:28 +0100 Subject: [PATCH] Minor fixes --- Source/Engine/Content/Assets/AnimationGraph.cpp | 2 +- Source/Engine/UI/GUI/TextBlockStyle.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Content/Assets/AnimationGraph.cpp b/Source/Engine/Content/Assets/AnimationGraph.cpp index f5607117a..64fcec1f4 100644 --- a/Source/Engine/Content/Assets/AnimationGraph.cpp +++ b/Source/Engine/Content/Assets/AnimationGraph.cpp @@ -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(); if (function) diff --git a/Source/Engine/UI/GUI/TextBlockStyle.cs b/Source/Engine/UI/GUI/TextBlockStyle.cs index 7166bc4f1..fb70a7bf6 100644 --- a/Source/Engine/UI/GUI/TextBlockStyle.cs +++ b/Source/Engine/UI/GUI/TextBlockStyle.cs @@ -79,7 +79,7 @@ namespace FlaxEngine.GUI public Color Color; /// - /// 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. /// [EditorOrder(30)] public Color ShadowColor;