Add clarifying comment for null primaryGraphLayer fallback case

Co-authored-by: LoogLong <86428208+LoogLong@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-05 03:12:01 +00:00
parent 4358ae1663
commit fd99fc2cc3

View File

@ -234,6 +234,7 @@ public class AnimGraphViewModel
// Pass 3: Move unassigned SaveCachedPose nodes and their input chains
// to the primary AnimGraph layer. In UE, SaveCachedPose can only exist at
// the animation blueprint's top-level layer, not inside state machine sub-graphs.
// If no _Root layer exists, these nodes fall through to the fallback handler below.
if (primaryGraphLayer != null)
{
var unassignedSavePoseNodes = vm.Nodes