676 Commits

Author SHA1 Message Date
Thomas Sarkanen
590e7c8108 Fixed being unable to select external BPs in linked anim layer nodes
Switched custom parsing to use FEditorClassUtils::GetImplementedInterfaceClassPathsFromAsset

#jira UE-192562

[CL 27070113 by Thomas Sarkanen in 5.3 branch]
2023-08-14 10:40:40 -04:00
Thomas Sarkanen
4b37dcdf87 Fix anim graph node fast path icon not appearing for nodes that do not use blueprint logic
If a node has exposed pins, it will now show up as 'fast path' when all of its pins are constant (as well as when it is actually using the fast path). If a node has no pins exposed it still does not show up as 'fast path', by design to reduce visual clutter.

#jira UE-184014
#rb Jurre.deBaare

[CL 26738604 by Thomas Sarkanen in 5.3 branch]
2023-08-01 10:38:26 -04:00
Thomas Sarkanen
39bbb2891b Fix crash dragging a Metahuman into a level
Move asset PostLoad call into the if() block that needs it when loading an anim graph node, as in this code path not all subobjects are loaded for the various assets that are referenced by the pose asset
This could still fail for very old assets, but at least unblocks this issue.

#jira UE-190467
#rb Nicholas.Frechette
#fyi Jurre.deBaare

[CL 26700501 by Thomas Sarkanen in 5.3 branch]
2023-07-31 04:31:41 -04:00
jaime cifuentes
02971f78ef Fixed BlueprintEditor not getting refreshed after adding an animation layer node into an animation graph
#jira UE-173106
#rb thomas.sarkanen

[CL 26665733 by jaime cifuentes in 5.3 branch]
2023-07-28 03:20:09 -04:00
jaime cifuentes
6967bfe877 Added compiler note and visual warnings to state machine transitions if the transition rule has logic but the flag for automatic rule based condition is set
#jira UE-170338
#rb jose.villarroel

[CL 26665710 by jaime cifuentes in 5.3 branch]
2023-07-28 03:18:26 -04:00
Thomas Sarkanen
db8d7e259d Fix crash on loading an anim BP with pose hander nodes that require skeleton updates to their animations
This manifested as a problem dragging in MetHumans from Quixel Bridge.
Adding a preload dependency for asset player nodes (which include pose handlers) that recurses and preloads all dependencies too prevents load ordering issues where subobjects in anim assets were sometimes not correctly loaded

#fyi Jurre.deBaare
#jira UE-190467
#rb Nicholas.Frechette

[CL 26480247 by Thomas Sarkanen in 5.3 branch]
2023-07-20 04:51:20 -04:00
euan carmichael
74849bbc98 Player nodes in blendspace graphs are now added to GraphAssetPlayerInformation
# jira UE-188902
# rb Thomas.Sarkanen

[CL 26212235 by euan carmichael in 5.3 branch]
2023-06-23 12:34:06 -04:00
marc audy
d1f48fc5c8 Fix implicit capture of this using [=] deprecated in C++20
#jira
#rnx

[CL 25989494 by marc audy in ue5-main branch]
2023-06-14 15:07:58 -04:00
roland munguia
517713a0c8 Fix crash due to type casting for anim bp compile warning in a state transition node when using looping asset player with automatic rule.
Removed behaviour change regarding inertialization transitions or very low blend time standard blend transitions considering a valid transitions when their looping asset player reaches end and they are using automatic rules.

#rnx
#rb Aaron.Cox, Jose.Villarroel

[CL 25941436 by roland munguia in ue5-main branch]
2023-06-12 17:55:00 -04:00
roland munguia
6b5c50fd1f Comment warning for looping asset players and using automatic rule based transitions.
#rb Aaron.Cox

[CL 25880373 by roland munguia in ue5-main branch]
2023-06-08 15:56:25 -04:00
roland munguia
93720bd718 Fixes for automatic transitions rules and added the feature to manually set their trigger time.
- Added support for explicitly specifying the transitions trigger time when using state machine automatic transition rules.
- Fixed state machine automatic transitions rules not triggering from a looping animation.
- Fixed state machine automatic transitions rules that have their next state as a conduit state triggering before reaching the end of the animation.
- Consolidate all the ways to check if asset in asset player is looping into a single api call, IsLooping().
- Added getter for a AssetPlayer's DeltaTimeRecord.
- Added warning when a asset player is using looping animations with automatic rule based transitions.

#jira UE-171299, UE-180844, UE-185174

[CL 25877647 by roland munguia in ue5-main branch]
2023-06-08 14:19:19 -04:00
dan oconnor
a418c0e6dc Non unity fix
#rb none
#rnx
#jira
#preflight

[CL 25720351 by dan oconnor in ue5-main branch]
2023-06-01 00:21:32 -04:00
dan oconnor
8eb692c606 Make explicit and validate ublueprint and ubpgc classes, honor the mappings when creating a blueprint from a UClass
#preflight 647551ded36191bd26b82118
#jira UE-187090
#rb Phillip.Kavan

[CL 25720111 by dan oconnor in ue5-main branch]
2023-05-31 23:26:13 -04:00
roland munguia
7dc3bb57a2 State machine entry, exit, fully blended in, and fully blended out anim node functions.
Additional changes:
- Added warnings for users using anim state events since we want to push towards using the state node functions.
- Added support for anim nodes to show any bound functions and not have them hardcoded.
- Added base context type for FAnimExecutionContext.
- Now users can specify the string for the default binding name of a function member reference in a BP by using the "DefaultBindingName" metadata tag. This will give the functionality to avoid having the default binding name be "NewFunction" and instead use the input string from the metadata tag.

#jira UE-184572
#rb Thomas.Sarkanen, jose.villarroel, aaron.cox
#preflight 646e6a836c2a2532b1f91efd

[CL 25631664 by roland munguia in ue5-main branch]
2023-05-25 18:06:26 -04:00
daniel holden
6ccf5e03c5 Added experimental DeadBlending animation graph node.
#jira UE-184569
#rb keith.yerek
#rb danny.champman
#preflight 646e0593f85111e06c8ff205

[CL 25601022 by daniel holden in ue5-main branch]
2023-05-24 09:01:31 -04:00
nick brett
afd1f21d8e [UE] Prevent the creation of multiple copies of pose watch elements by the RBAN AnimGraphNode
- Find and reuse existing Pose Watch Elements in the RBAN node, rather than creating new ones every time the editor is re-opened.

[REVIEW] [at]thomas.sarkanen, [at]lucas.dower
#jira UE-186593
#preflight 646c90ad4130b0ce5096a34f
#rnx

[CL 25583377 by nick brett in ue5-main branch]
2023-05-23 11:14:42 -04:00
daniel holden
63ba9cb8d7 [Backout] - CL25578176
[FYI] daniel.holden
Original CL Desc
-----------------------------------------------------------------
Added experimental DeadBlending animation graph node.

#preflight 646c76414422ba05f47337a2
#rb keith.yerek, danny.chapman
#jira UE-184569

[CL 25579640 by daniel holden in ue5-main branch]
2023-05-23 07:48:35 -04:00
daniel holden
e4e1a07f7d Added experimental DeadBlending animation graph node.
#preflight 646c76414422ba05f47337a2
#rb keith.yerek, danny.chapman
#jira UE-184569

[CL 25579599 by daniel holden in ue5-main branch]
2023-05-23 07:47:40 -04:00
lucas dower
31d0124334 Added missing tooltips for animation state machine schemas
#jira UE-186241
#rb jurre.debaare, jaime.cifuentes
#preflight 646c7ddb2c0a5da0dc594dfd

[CL 25577526 by lucas dower in ue5-main branch]
2023-05-23 05:01:32 -04:00
roland munguia
215a63cdc8 Disabled option to duplicate a state from the tree view.
This option is being disabled for now since it has never worked properly and it causes a engine crash.

#jira UE-185146
#preflight 6465161f2d446eac96e858f2

[CL 25512536 by roland munguia in ue5-main branch]
2023-05-17 14:09:37 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
bryan sefcik
d205101cc8 Removed unnecessary private include modules.
#preflight 645da640cf788a25581110bb

[CL 25451545 by bryan sefcik in ue5-main branch]
2023-05-12 12:13:52 -04:00
aaron cox
39bd0389c9 Fix loctext in legik node
[CL 25367087 by aaron cox in ue5-main branch]
2023-05-07 11:08:16 -04:00
aaron cox
4c630fd4e5 Output warnings when the LegIK node is missing definitions or contains references to invalid bones.
[REVIEW] [at]Jose.Villarroel
#jira UE-184701
#preflight 6453f383023fe5d3ad3b0560

[CL 25363353 by aaron cox in ue5-main branch]
2023-05-05 21:38:18 -04:00
lucas dower
5ab02abbc4 [UEFN] Disable pose watches on animation blueprints
#rb benjamin.jillich
#preflight 6454e694fd4b8f4e0dda2d1e

[CL 25353868 by lucas dower in ue5-main branch]
2023-05-05 09:48:44 -04:00