712 Commits

Author SHA1 Message Date
lucas dower
fd79cb8ce8 Fix for anim getters that require no parameters returning an error for a nullptr node on compilation
* Specifically the WasAnimNotifyTriggeredInAnyState and WasAnimNotifyNameTriggeredInAnyState

#jira UE-210491
#rb Thomas.Sarkanen

[CL 32705734 by lucas dower in 5.4 branch]
2024-04-03 14:39:09 -04:00
lucas dower
653f9311b6 Fix LOCTEXT key conflict in K2Node_AnimGetter
#jira UE-208771, UE-208787
#rb timothy.daoust

[CL 32496589 by lucas dower in 5.4 branch]
2024-03-26 00:41:47 -04:00
lucas dower
921404991b Revert changes to RestoreStateMachineState and RestoreStateMachineNode which led to nullptr SourceNodes, add compile time error to check for these broken nodes and instruct user to replace them
#jira UE-205433
#rb Thomas.Sarkanen, timothy.daoust

#changelist validated
#virtualized
#p4v-cherrypick 31941394

[CL 32491631 by lucas dower in 5.4 branch]
2024-03-25 19:16:20 -04:00
euan carmichael
2fd170e129 Fix for crash when validating auto rule based transitions. Also reinstated some warnings as info
#jira UE-196653
#rb roland.munguia

[CL 31589153 by euan carmichael in 5.4 branch]
2024-02-16 19:13:12 -05:00
euan carmichael
6e0a01ce19 RandomPlayer anim graph node now calls PreloadRequiredAssets.
#jira UE-157525
#rb Thomas.Sarkanen

[CL 31540119 by euan carmichael in 5.4 branch]
2024-02-15 17:39:46 -05:00
thomas sarkanen
2a3140ccde Fix Lyra PIE property access issues caused by CL 31251549
The changes to always process 'most up to date' classes broke property accesses on many of Lyra's accesses. This was because the runtime functions/properties ended up being accessed on empty skeleton classes.
This change restricts the path resolution via 'most up to date' classes to only where it is needed for this use case: renaming/referencing variables and functions.

#jira UE-204823
#rb jaime.cifuentes

[CL 31429174 by thomas sarkanen in 5.4 branch]
2024-02-13 10:58:27 -05:00
benoit gadreau
0d585e39cc AnimNodeEditMode: avoid opening unnecessary transactions when orbiting the camera
- and more generally when nothing is transformed in the viewport

NOTE: this is not a fix for this jira, but the problem has been highlighted by it.

#jira UE-206571
#rb thomas.sarkanen
#rnx

[CL 31420825 by benoit gadreau in 5.4 branch]
2024-02-13 08:00:24 -05:00
thomas sarkanen
cd0e0fc614 Fix function renames not applying to property access nodes and compilation crashes post-rename
Implement function BP rename handling on a per-node basis, similar to existing variable rename handing
Move to using FBlueprintEditorUtils::GetMostUpToDateClass for property access in-editor. This ensures that any local renames are picked up prior to recompilation.

#jira UE-204823
#rb jaime.cifuentes, Phillip.Kavan

#changelist validated
#virtualized

[CL 31251563 by thomas sarkanen in 5.4 branch]
2024-02-07 05:06:20 -05:00
danny chapman
cfd2bb04dc Improve help text for BlendSpace evaluator, which doesn't behave well in all situations.
#jira UE-181668

[CL 31210081 by danny chapman in 5.4 branch]
2024-02-06 06:47:45 -05:00
thomas sarkanen
454e3f9003 Fix pasted 'anim getter' nodes introducing hidden references to their source anim BP
#jira UE-201953
#rb jaime.cifuentes

[CL 31006740 by thomas sarkanen in 5.4 branch]
2024-01-30 10:11:28 -05:00
thomas sarkanen
672d6a5528 Fix anim BP node orphan pins not getting removed on disconnection
#jira UE-203384
#rb jaime.cifuentes
#p4v-cherrypick 30969861

[CL 30970977 by thomas sarkanen in 5.4 branch]
2024-01-29 11:22:51 -05:00
thomas sarkanen
b635885fbd Fix unfixable warnings when variables referenced in in anim graph node pin bindings are removed
Also fix copy-pasted code in AnimNext
Also fix crash when compiling a template anim BP without a preview instance (found while attempting repro)

#jira UE-192978
#rb jaime.cifuentes
#p4v-cherrypick 30969425

[CL 30970901 by thomas sarkanen in 5.4 branch]
2024-01-29 11:20:24 -05:00
keith yerex
73f85b499a Anim Node Reference Tag support for nodes inside BlendStack subgraphs
#rb samuele.rigamonti, Thomas.Sarkanen

[CL 30785562 by keith yerex in ue5-main branch]
2024-01-22 16:30:31 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
thomas sarkanen
d2f9bb8797 Fixed new anim state machine transition nodes not appearing when the graph is far from the origin
Nodes were initially placed at the origin and would not be considered visible (for auto-rearranging between their states) until the origin was in view

#jira UE-201947
#rb jaime.cifuentes

[CL 30534302 by thomas sarkanen in ue5-main branch]
2024-01-10 09:10:14 -05:00
jaime cifuentes
1fb7f61aa1 Animation layers now will start on a shared group by default, making them share instance at runtime
#rb Thomas.Sarkanen
#jira UE-172741

[CL 30258485 by jaime cifuentes in ue5-main branch]
2023-12-12 03:41:26 -05:00
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