You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Replaced with a single "Blend poses by enum" node that has an unbound enum. * The property window now shows the bound enum and can be modified #jira UE-222969 #rb Thomas.Sarkanen [CL 36298004 by lucas dower in 5.5 branch]
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AnimGraphSettings.h"
|
|
#include "BlueprintActionDatabase.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "AnimGraphSettings"
|
|
|
|
FName UAnimGraphSettings::GetContainerName() const
|
|
{
|
|
return TEXT("Editor");
|
|
}
|
|
|
|
FName UAnimGraphSettings::GetCategoryName() const
|
|
{
|
|
return TEXT("ContentEditors");
|
|
}
|
|
|
|
#if WITH_EDITOR
|
|
|
|
FText UAnimGraphSettings::GetSectionText() const
|
|
{
|
|
return LOCTEXT("SectionText", "Anim Graph");
|
|
}
|
|
|
|
FText UAnimGraphSettings::GetSectionDescription() const
|
|
{
|
|
return LOCTEXT("SectionDescription", "Anim Graph Settings");
|
|
}
|
|
|
|
#endif // WITH_EDITOR
|
|
|
|
void UAnimGraphSettings::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
|
|
{
|
|
const FName PropertyName = (PropertyChangedEvent.Property ? PropertyChangedEvent.Property->GetFName() : NAME_None);
|
|
|
|
if (PropertyName == GET_MEMBER_NAME_STRING_CHECKED(UAnimGraphSettings, bShowInstancedEnumBlendAnimNodeBlueprintActions))
|
|
{
|
|
FBlueprintActionDatabase::Get().RefreshAll();
|
|
}
|
|
|
|
Super::PostEditChangeProperty(PropertyChangedEvent);
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE |