Commit Graph

253 Commits

Author SHA1 Message Date
sara schvartzman
8ccbb335a5 Control Rig: Execute pins can't be connected in the proper order
#jira UE-145787
#rb benoit.gadreau
#preflight https://horde.devtools.epicgames.com/job/622f7b0380715dc6dad5e5c3

[CL 19375022 by sara schvartzman in ue5-main branch]
2022-03-14 13:40:28 -04:00
Helge Mathee
bedc891006 Control Rig: Fix for crash during pin wiring
#rb na
#jira na
#preflight na

[CL 19373777 by Helge Mathee in ue5-main branch]
2022-03-14 12:19:58 -04:00
Helge Mathee
fe5886fb9a EdGraph: Keep soft handles to pins and nodes during link
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/6229c190d271eeb462e1d0ad

[CL 19334348 by Helge Mathee in ue5-main branch]
2022-03-10 06:25:01 -05:00
daren cheng
ed63759613 Remove pin tooltips on pin destruction, preventing stale tooltip crashes.
#jira UE-144506
#preflight 62210cd87b383ac2989e690b
#rb Vincent.Gauthier
#lockdown JeanMichel.Dignard

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 19249172 in //UE5/Release-5.0/... via CL 19251784
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263234 by daren cheng in ue5-main branch]
2022-03-04 03:25:54 -05:00
dave jones2
c8574d3b74 Merging //UE5/Dev-LargeWorldCoordinates [at] 18802167 to //UE5/Release-5.0
Blueprint real number support.

This change deprecates the use the of "float" and "double" types in Blueprints in favor of a new "real". By default, "real" is back by a double precision floating point number. However, it can be single precision if the number is a native float property or function parameter. This distinction won't be visible to the Blueprint user: in both instances, they'll be represented by "real" pin types. During deserialization, we'll automatically convert Blueprint pin types to use real/doubles, unless they're used to represent native code (including delegate signatures).

One consequence of this change is that we need to perform implicit casts between single and double precision real numbers. During Blueprint compilation, the compiler will detect points in the graph for when either a widening or narrowing conversion needs to occur. Subsequently, the script bytecode will contain a new cast instruction that performs the conversion. This also works on container types, but each entry in the container will have to be converted. This can introduce unwanted overhead for large containers that are frequently passed between Blueprint and native code.

The scope of this change affects Blueprints used by Gameplay, Animation, Control Rig, and UMG.

#rb marc.audy (serialization changes)
#jira UE-116484
#preflight 61f8bdd5a2514ba12ff7bdfc

#ROBOMERGE-AUTHOR: dave.jones2
#ROBOMERGE-SOURCE: CL 18809077 in //UE5/Release-5.0/... via CL 18809455 via CL 18822548
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823569 by dave jones2 in ue5-main branch]
2022-02-02 05:50:50 -05:00
helge mathee
3abfb315a5 Control Rig: Cannot drag wires out from pins on collapsed nodes
This is due to the fact that we are changing the setting on the actual node - not the widget itself. Added a boolean to overdrive the behavior per widget

#rb sara.schvartzman
#jira UE-139791
#preflight https://horde.devtools.epicgames.com/job/61eaabbcc12be595d176b23b

#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 18688416 in //UE5/Release-5.0/... via CL 18688420 via CL 18688425
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18688430 by helge mathee in ue5-main branch]
2022-01-21 08:08:00 -05:00
ben hoffman
342cf191d1 Blueprints: Add new promotable operator icons to make it clearer that you can connect any type to it instead of just the one that is currently connected.
#jira UE-130755
#rb trivial
#rnx
#preflight 61df10146a076ddb53ecd68e
#preflight 61df40836a16a18acf8741e8

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18589393 in //UE5/Release-5.0/... via CL 18589401 via CL 18589406
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18589423 by ben hoffman in ue5-main branch]
2022-01-12 16:08:58 -05:00
sebastian nordgren
9f571a3e15 Added "Break This Link" command to graph editor, which is displayed instead of the "Break Link..." submenu when there's only one link to display.
Fixed various Title Case errors in graph editor command names.

#review-18238003 @lauren.barnes
#preflight 619b8f30f934c1a291ceaa0b

[CL 18258594 by sebastian nordgren in ue5-main branch]
2021-11-22 10:13:04 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
sara schvartzman
488074a7e5 Control Rig: Fix "show bubble when zoom" change is not getting saved
#jira UE-131734
#rb helge.mathee
#preflight 6172abfceeaa6c00017ff565

#ROBOMERGE-AUTHOR: sara.schvartzman
#ROBOMERGE-SOURCE: CL 17904076 in //UE5/Release-5.0/... via CL 17904086
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v883-17842818)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17904089 by sara schvartzman in ue5-release-engine-test branch]
2021-10-25 04:25:30 -04:00
phillip kavan
7d83f5a2de First pass at interactive Blueprint graph pin value inspection tooltips while debugging in PIE.
Currently disabled by default; enable via setting "BP.EnablePinValueInspectionDuringPIE 1" at the console, then PIE and break execution with an instance of the open Blueprint graph selected for debugging.

#jira UE-119546
#rb Ben.Hoffman, Benjamin.Fox
#preflight 614cfdbe74f7e70001ed64d9

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 17618953 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17618961 by phillip kavan in ue5-release-engine-test branch]
2021-09-24 00:42:44 -04:00
thomas sarkanen
d708b24c66 Anim node references
Added the abiity to tag and retrieve any anim graph node (similar to how we could reference linked anim graph nodes previously).
Ported linked anim graph nodes to use the new system
Added the ability to reference any anim graph node by tag (via a new custom node, spawnable from the context menu, with the appearance of an actor reference in a level blueprint)
Added tag display and editing in the bottom-right of anim graph nodes
Added new override point to SGraphNodeK2Var to allow for title widget parameters to be overriden by child classes

#jira UE-126286 - Anim node functions: Add anim node references
#rb Jurre.deBaare

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 17472894 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17472913 by thomas sarkanen in ue5-release-engine-test branch]
2021-09-09 11:42:21 -04:00
thomas sarkanen
3111c33a09 Improved appearance of below widget controls for anim nodes
Ordering of error reporting and functions switched
Incorporated debug vis for players & blendspaces into nodes
Fixed blendspace graphs not displaying functions
Also fixes regular BP composite nodes showing their error indicator in the title bar
Tweaked appearance of player nodes to incorporate their sliders

#rb Jurre.deBaare

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 17437639 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17437665 by thomas sarkanen in ue5-release-engine-test branch]
2021-09-06 08:03:02 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
patrick boutot
2c7fc07d7d Slate: Fix missing slot initialization.
#jira UE-117955
#rb none

#ROBOMERGE-SOURCE: CL 16657158 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16657191 by patrick boutot in ue5-release-engine-test branch]
2021-06-14 07:38:46 -04:00
patrick boutot
36f88a5cbb Slate: Deprecate SLATE_SUPPORTS_SLOT. SLATE_SLOT_ARGUMENT should now be use. The new macro support FSlotArguments. That let us create slot with TAttribute that can be transform into SlateAttribute.
Deprecate TAlignmentWidgetSlotMixin old declartive function. They were not invalidating the widget.
Deprecate TPanelChildren.Add and Insert function. We now use TUniquePtr, the ownership of the Slot wouldn't exist outside of the life of the slot.
#jira UE-109145
#preflight 60c262b49e139d000114edda

#ROBOMERGE-SOURCE: CL 16639956 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16639979 by patrick boutot in ue5-release-engine-test branch]
2021-06-11 07:57:30 -04:00
Helge Mathee
2adfbaebc5 Control Rig: Hide ALL enum entry for element type when within element key
#fyi jack.cai
#jira na
#rb audit

[CL 16509263 by Helge Mathee in ue5-main branch]
2021-05-31 10:55:36 -04:00
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
daren cheng
9a9a0cb1f9 Edigrate 16359780.
Don't create transactions except on release when moving nodes.

#jira UE-115317
#rb Francis.Hurteau, Patrick.Boutot
#preflight 60a3ff23733ad00001685c6a

[CL 16373994 by daren cheng in ue5-main branch]
2021-05-18 15:26:27 -04:00
Helge Mathee
451611206e Control Rig: Improve zoom level and add ground for collision testing
#jira UE-114194 UE-115039
#rb audit

[CL 16365184 by Helge Mathee in ue5-main branch]
2021-05-18 06:44:40 -04:00
Patrick Boutot
51e6fe68ae Slate: Deprecate direct acces from the Alignment padding and the owner pointer of a FSlot.
#jira UE-109145
#rb daren.cheng
#preflight 60a27ad607285b0001d61dfd

[CL 16351434 by Patrick Boutot in ue5-main branch]
2021-05-17 11:08:42 -04:00
Helge Mathee
c925639b65 Control Rig: Refactoring treeview node layout to fast path
#rb sara.schvartzman
#jira UE-94081

[CL 16296790 by Helge Mathee in ue5-main branch]
2021-05-12 04:16:45 -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