From 47b255ed3edbecb8a143e9623680ad0d174a617f Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sat, 23 Jul 2022 16:49:40 +0200 Subject: [PATCH] Remove warning on missing initial entry state for Anim Graph state machine --- Source/Engine/Animations/Graph/AnimGraph.Base.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Source/Engine/Animations/Graph/AnimGraph.Base.cpp b/Source/Engine/Animations/Graph/AnimGraph.Base.cpp index 1ae5aee23..e9c11358c 100644 --- a/Source/Engine/Animations/Graph/AnimGraph.Base.cpp +++ b/Source/Engine/Animations/Graph/AnimGraph.Base.cpp @@ -266,13 +266,7 @@ bool AnimGraphBase::onNodeLoaded(Node* n) // Entry case 19: { - const auto entryTargetId = (int32)n->Values[0]; - const auto entryTarget = GetNode(entryTargetId); - if (entryTarget == nullptr) - { - LOG(Warning, "Missing Entry node in animation state machine graph."); - } - _rootNode = entryTarget; + _rootNode = GetNode((int32)n->Values[0]); break; } // State