Feature Request: Apply All for Animations modified by Anim Modifier

#feature added ApplyModifier scope struct which keeps track of which modifier has prompted the user for any warnings, and allow them to YesAll/NoAll rather than having to individually prompt for each modifier/animation sequence combination
#jira UE-82825
#rb Thomas.Sarkanen

#ROBOMERGE-SOURCE: CL 16671774 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v834-16658389)

[CL 16671775 by jurre debaare in ue5-release-engine-test branch]
This commit is contained in:
jurre debaare
2021-06-15 07:23:45 -04:00
parent 7a5254f8a2
commit 6cdfe38db8
4 changed files with 98 additions and 11 deletions

View File

@@ -103,6 +103,7 @@ void FAnimationModifiersModule::ApplyAnimationModifiers(const TArray<UAnimSequen
const FScopedTransaction Transaction(LOCTEXT("UndoAction_ApplyModifiers", "Applying Animation Modifier(s) to Animation Sequence(s)"));
// Iterate over each Animation Sequence and all of its contained modifiers, applying each one
UE::Anim::FApplyModifiersScope Scope;
TArray<UAnimationModifiersAssetUserData*> AssetUserData;
for (UAnimSequence* AnimationSequence : InSequences)
{