Remove warning on missing initial entry state for Anim Graph state machine

This commit is contained in:
Wojtek Figat
2022-07-23 16:49:40 +02:00
parent 32fe383c10
commit 47b255ed3e

View File

@@ -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