Commit Graph

696 Commits

Author SHA1 Message Date
jurre debaare
cd72b7a65d Ensure that we go to Super::GetPinBindingInfo if UAnimGraphNode_CustomProperty::GetPinBindingInfo cannot resolve the binding
[FYI] Helge.Mathee
#rb Thomas.Sarkanen

[CL 29018048 by jurre debaare in ue5-main branch]
2023-10-23 11:15:05 -04:00
jose villarroel
64eb81e42f Changed display name of AnimNode_TwoWayBlend from "Blend" to "Two Way Blend"
#rb Thomas.Sarkanen

[CL 28924260 by jose villarroel in ue5-main branch]
2023-10-19 13:11:04 -04:00
samuele rigamonti
bc218ae542 motion matching - reintroducing AnimPoseSearchProvider previously nuked with CL 23157119, and related FPoseSearchProviderModule implemented with the current PoseSearch plugin
[REVIEW] [at]jose.villarroel, [at]keith.yerex, [at]aaron.cox, [at]roland.munguia

[CL 28194780 by samuele rigamonti in ue5-main branch]
2023-09-25 13:48:38 -04:00
euan carmichael
bf91d64edf Only process a sequence once when adding multiple keys
# jira UE-193618
#rb jurre.debaare

[CL 27856328 by euan carmichael in ue5-main branch]
2023-09-13 18:26:02 -04:00
steve robb
51f3ea53ae Removed ChooseClass.h includes.
#rb trivial

[CL 27823723 by steve robb in ue5-main branch]
2023-09-13 05:43:01 -04:00
jurre debaare
08585f35af Need the ability to give a sequence evaluator a frame instead of time.
#feature sequence evaluator node now exposes ExplicitFrame option, which internally combined with the set AnimSequence is used to generate a time-value (on which the behaviour is based)
#rb Thomas.Sarkanen

[CL 27627946 by jurre debaare in ue5-main branch]
2023-09-06 04:14:59 -04:00
charles lefebvre
7a5907dc85 Do not use Cast as a const_cast
#rnx

[CL 27611228 by charles lefebvre in ue5-main branch]
2023-09-05 16:44:52 -04:00
dan oconnor
bf3e562558 Add missing RestoreSplitPin calls
#jira UE-194262
#rb Dave.Jones2

[CL 27491415 by dan oconnor in ue5-main branch]
2023-08-30 14:04:49 -04:00
dan oconnor
17d0975d77 Handle preloading of animation assets that discover they have more dependencies after being loaded
#rb Ben.Hoffman
#jira

[CL 27388178 by dan oconnor in ue5-main branch]
2023-08-25 15:24:34 -04:00
charles lefebvre
061b009699 Kismet Compiler: Deprecate SpawnIntermediateEventNode
#rnx
#rb dan.oconnor

[CL 27365052 by charles lefebvre in ue5-main branch]
2023-08-24 20:56:35 -04:00
jose villarroel
710ad21f92 [Backout] - CL27251115
[FYI] jose.villarroel
Original CL Desc
-----------------------------------------------------------------
Added Anim Blueprint Editor preference to disable showing assets in the context menu of anim graph. This results in a significantly faster context menu in large projects.
[REVIEW] [at]Aaron.Cox, [at]Thomas.Sarkanen

[CL 27252044 by jose villarroel in ue5-main branch]
2023-08-21 16:14:50 -04:00
jose villarroel
f4140cfc15 [Backout] - CL27251725
[FYI] jose.villarroel
Original CL Desc
-----------------------------------------------------------------
Fix for circular dependency in Anim Graph
#rb trivial
#rnx

[CL 27252016 by jose villarroel in ue5-main branch]
2023-08-21 16:14:07 -04:00
jose villarroel
c08fefcf0b Fix for circular dependency in Anim Graph
#rb trivial
#rnx

[CL 27251734 by jose villarroel in ue5-main branch]
2023-08-21 16:06:05 -04:00
jose villarroel
a633cc5d56 Added Anim Blueprint Editor preference to disable showing assets in the context menu of anim graph. This results in a significantly faster context menu in large projects.
[REVIEW] [at]Aaron.Cox, [at]Thomas.Sarkanen

[CL 27251149 by jose villarroel in ue5-main branch]
2023-08-21 15:51:13 -04:00
thomas sarkanen
730f6b7891 Fixed being unable to select external BPs in linked anim layer nodes
Switched custom parsing to use FEditorClassUtils::GetImplementedInterfaceClassPathsFromAsset

#jira UE-192562

[CL 27072096 by thomas sarkanen in ue5-main branch]
2023-08-14 11:44:09 -04:00
johan torp
10095e98d9 Drive-by cook determinism fix
#rb none

[CL 26919206 by johan torp in ue5-main branch]
2023-08-08 12:00:19 -04:00
robert manuszewski
d3991fec9b Fixing potential compile errors ahead of enabling TObjectPtr GC barrier
#rb trivial

[CL 26868625 by robert manuszewski in ue5-main branch]
2023-08-05 06:09:54 -04:00
thomas sarkanen
dfdc431256 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 26740552 by thomas sarkanen in ue5-main branch]
2023-08-01 11:35:48 -04:00
thomas sarkanen
6f5c25c598 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 26700547 by thomas sarkanen in ue5-main branch]
2023-07-31 04:39:32 -04:00
jaime cifuentes
56ddf2c344 Fixed BlueprintEditor not getting refreshed after adding an animation layer node into an animation graph
#jira UE-173106
#rb thomas.sarkanen

[CL 26665746 by jaime cifuentes in ue5-main branch]
2023-07-28 03:21:03 -04:00
jaime cifuentes
e71560bdff 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 26665714 by jaime cifuentes in ue5-main branch]
2023-07-28 03:19:20 -04:00
thomas sarkanen
a3f5998775 Fix node bindings not being present for nodes that are drag-dropped
#jira UE-190695
#rb jose.villarroel

[CL 26568590 by thomas sarkanen in ue5-main branch]
2023-07-25 06:18:59 -04:00
thomas sarkanen
5263a174df 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 26482451 by thomas sarkanen in ue5-main branch]
2023-07-20 07:42:06 -04:00
jose villarroel
6dc26fd3fb Added "Update If Active" flag to property access, to allow freezing specific properties during blend out.
[REVIEW] [at]Thomas.Sarkanen

[CL 26478895 by jose villarroel in ue5-main branch]
2023-07-19 21:32:37 -04:00
thomas sarkanen
57122faf0a AnimNext params in Anim BPs
Added a new anim node: AnimNext Parameters. This injects parameters into the AnimNext stack for all leafwards nodes.

Added a new way of binding to parameters on anim nodes.
- Added indirection to UAnimGraphNode_Base to allow different 'binding types' to be authored by deriving from UAnimGraphNodeBinding
- Added new binding type for AnimNext parameters
- Moved existing binding code (inc UI widget creation) into UAnimGraphNodeBinding_Base
- Binding types can be selected on a per-node or per-anim BP basis

Reworked FParamStack API a little
- Allow for better error checking when pushing/popping stack layers. Pushed layers can now only be subsequently popped by passing in the handle of the pushed layer.
- Standalone layers are now wrapped in an opaque handle rather than returning a unique ptr
- GetParamData APIs now perform more involved type checking, allowing derived object types & type conversions to be implemented

Improved parameter type sandboxing for automated tests. If running low-level type tests while execution was happening on another thread, the editor could crash because of invalidating already-existing types.

Lots of other small fixes to get workflows nicer and end-to-end functionality working

#rb Nicholas.Frechette,Jaime.Cifuentes,Jurre.deBaare

[CL 26455905 by thomas sarkanen in ue5-main branch]
2023-07-19 04:36:34 -04:00