2020-09-09 08:32:25 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
2021-04-22 04:57:09 -04:00
|
|
|
#include "AnimBlueprintExtension_LinkedAnimGraph.h"
|
|
|
|
|
#include "AnimGraphNode_Base.h"
|
2020-09-09 08:32:25 -04:00
|
|
|
#include "AnimGraphNode_LinkedAnimGraphBase.h"
|
|
|
|
|
#include "IAnimBlueprintCompilerCreationContext.h"
|
|
|
|
|
#include "IAnimBlueprintCompilationContext.h"
|
|
|
|
|
#include "IAnimBlueprintGeneratedClassCompiledData.h"
|
|
|
|
|
|
2021-04-22 04:57:09 -04:00
|
|
|
void UAnimBlueprintExtension_LinkedAnimGraph::HandlePreProcessAnimationNodes(TArrayView<UAnimGraphNode_Base*> InAnimNodes, IAnimBlueprintCompilationContext& InCompilationContext, IAnimBlueprintGeneratedClassCompiledData& OutCompiledData)
|
2020-09-09 08:32:25 -04:00
|
|
|
{
|
|
|
|
|
for(UAnimGraphNode_Base* AnimNode : InAnimNodes)
|
|
|
|
|
{
|
|
|
|
|
if(UAnimGraphNode_LinkedAnimGraphBase* LinkedAnimGraphBase = Cast<UAnimGraphNode_LinkedAnimGraphBase>(AnimNode))
|
|
|
|
|
{
|
|
|
|
|
LinkedAnimGraphBase->AllocatePoseLinks();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|