Commit Graph

73 Commits

Author SHA1 Message Date
Thomas Sarkanen
3e92b56aa0 Animation: thread-safe execution and property access improvements
"Call function" anim node:
- Adds the ability to call functions at different points in the anim graph execution (and under different conditions, e.g. when a branch has started blending in). Only thread-safe functions are allowed to be called.
- Adds a thread-safe override point BlueprintThreadSafeUpdateAnimation, called on worker threads for the main instance and for linked instances when they are relevant in the graph (only one call per frame for linked layer instances).

Subsystems:
- Added new override points pre/post event graph(s) (moved override point for worker thread work to around the thread safe update function call).

Improves property access integration:
- Property access now shows (and allows the user to override) the call site of accesses. This is to allow users to see when their property access calls will be made, hopefully making its use less confusing for power users.
- Tweaked UX for property access nodes and dropdowns.
- Anim node pins now have property access bindings in-line on the pin.

Also adds the abilility for the anim graph to opt-in (via a config flag) to more stringent thread safety checks. Disabled by default for now as this requires content fixup.

#jira UE-115745 - Anim Blueprint Encapsulation
#rb Jurre.deBaare

[CL 16434092 by Thomas Sarkanen in ue5-main branch]
2021-05-24 04:47:52 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
thomas sarkanen
156ccfb6b5 Fixed bone references inside a nested blendspace not displaying and causing an ensure
To determine the to pick from skeleton we now traverse the outer chain to we eventually pick up the node for the blendspace, as in this case the asset is nested within a bunch of objects.

#jira UE-107725 - BlendSpace per-bone overrides don't show correctly
#rb Jurre.deBaare

#ROBOMERGE-SOURCE: CL 15470543 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15470552 by thomas sarkanen in ue5-main branch]
2021-02-19 05:08:21 -04:00
john vanderburg
398515a9d3 Initial support for skeletal remapping, which allows you to play animation assets from one skeleton onto the other.
[CL 15464346 by john vanderburg in ue5-main branch]
2021-02-18 18:42:00 -04:00
Thomas Sarkanen
7346478cbb Fixed occasional incorrect binding being set for property access on anim nodes
The setting of the exposed value bool was causing a skeleton recompilation before the binding was made. Also prevented multiple skeleton recompiles (causing the same issue) with multi-selected nodes.

#jira none
#rb Jurre.deBaare

[CL 15368864 by Thomas Sarkanen in ue5-main branch]
2021-02-09 15:00:29 -04:00
danny chapman
6139979106 Fix AnimBP transition warning if the rule is bound. Also auto-disconnect pins if they are to be replaced with a bound rule.
#jira UE-103558
#jira UE-105039
#rb thomas.sarkanen

[CL 15009206 by danny chapman in ue5-main branch]
2021-01-07 05:43:03 -04:00
Alexis Matte
73d83c6a38 To protect the skeletalmesh when using async operations like build or re-import we deprecate all public member variables of USkeletalMesh class and create the necessary getter and setter. Those member will stay public but will be move to private in a future release.
Adding a public member to USkeletalMesh class is now prohibed since it can break asynchronous operations that will be added next to this submit.

#rb danny.couture
#jira UEENT-3936
#rnx

[CL 14812920 by Alexis Matte in ue5-main branch]
2020-11-25 11:17:08 -04:00
Zousar Shaker
3cdeeb8075 Prototype Wrapped Object Pointers (ObjectHandle/ObjectPtr) Change ternary operators that are ambiguous when TObjectPtr can be implicitly constructed from a raw pointer. Also allow TObjectPtr to be implicitly constructed from an appropriate raw pointer.
#rb devin.doucette

[CL 14739879 by Zousar Shaker in ue5-main branch]
2020-11-12 18:18:02 -04:00
jose villarroel
c08d7e470b Move blend profile customization to its own PropertyTypeCustomization. This is needed to support blend profiles in other contexts (i.e. as struct/array members or outside an AnimGraphNode)
#review @Aaron.Cox @John.VanDerBurg
#fyi Thomas.Sarkanen
#jira none
#rnx

[CL 14602463 by jose villarroel in ue5-main branch]
2020-10-28 15:22:30 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
sebastian nordgren
f52f55d544 Removed default change type value for IPropertyHandle::NotifyPostChange, and fixed all usages of it.
#fyi matt.kuhlenschmidt

[CL 13884127 by sebastian nordgren in ue5-main branch]
2020-07-17 11:52:33 -04:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00
Lina Halper
3fd7f76532 Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main)
#fyi: Laurent.Delayn, Marc.Audy
#rb: none

[CL 9321182 by Lina Halper in Main branch]
2019-10-01 16:59:31 -04:00
thomas sarkanen
bc40812f7a Copying //Tasks/Fortnite/Dev-AnimSubInstances to Main (//Fortnite/Main)
Adds:
- New sub-instance functionality (dynamic setting, inline evaluation)
- Animation layers (experimental)

#rb Jurre.deBaare
[FYI] Laurent.Delayen
#rnx


#ROBOMERGE-SOURCE: CL 6604742 via CL 6605911
#ROBOMERGE-BOT: (v356-6605775)

[CL 6605970 by thomas sarkanen in Main branch]
2019-05-22 12:00:20 -04:00
helge mathee
ccd9105821 Merging using Dev-Anim<->Release-4.22
Original CL 5202790
#jira UE-67687
#rb Lina.Halper

#ROBOMERGE-SOURCE: CL 5203042 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5225185 by helge mathee in Main branch]
2019-02-27 10:40:25 -05:00
helge mathee
db3ad8f5f9 Merging using Dev-Anim<->Release-4.22
Original CL 5117200
#jira UE-67687
#rb Lina.Halper

#ROBOMERGE-SOURCE: CL 5203041 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5225182 by helge mathee in Main branch]
2019-02-27 10:40:23 -05:00
thomas sarkanen
4a919fed3c Fixed sorting & layout issues with anim nodes
Fixed anim node details customization so that it respects code re-ordered parameters and ordering metadata.
Fixed EditCondition and (As Pin) indicators causing double-checkboxes.
Moved (As Pin) indicators to a right-aligned checkbox instead of right-aligning the label.
Reordered anim node properties: AnimDynamics, ApplyAdditive, BlendBoneByChannel.

Also manually resized the 'eye' icon (as it was box filtered form 40x40) & fixed up asymmetric padding for its checkbox style. This means 'public' checkboxes in Blueprints are now square!

#rb Jurre.deBaare


#ROBOMERGE-SOURCE: CL 4738868 via CL 4738870 via CL 4738871

[CL 4738872 by thomas sarkanen in Main branch]
2019-01-17 04:08:05 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
Lina Halper
7e0817e32f Fix crash when multi select with bone driven controller
- make sure you can't continue with mismatching types of classes, code becomes very vulnerable

#jira: UE-58531
#rb: Martin.wilson

[CL 4301787 by Lina Halper in Dev-Anim branch]
2018-08-20 15:30:41 -04:00