Commit Graph

55 Commits

Author SHA1 Message Date
halfdan ingvarsson
a233962e1e Control Rig: Link creation performance improvements
[FYI] benoit.gadreau
#rb sara.schvartzman
#preflight 63ef951f977ceed9151fad2e

[CL 24309702 by halfdan ingvarsson in ue5-main branch]
2023-02-20 02:18:32 -05:00
Helge Mathee
f4e396377c RigVM Refactoring: Move the bulk of the code for Control Rig to RigVMHost.
Left ControlRig::Execute untouched for now - we need to refactor it in a follow up step.

#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/63bbe876c45a2c81e0720f1d

[CL 23626024 by Helge Mathee in ue5-main branch]
2023-01-10 09:05:18 -05:00
sara schvartzman
eca45e77e8 Control Rig: Promote pin to interface
#jira UE-172543
#rb benoit.gadreau
#preflight https://horde.devtools.epicgames.com/job/6398aaf4776b61ba3b3858fe

[CL 23493280 by sara schvartzman in ue5-main branch]
2022-12-13 11:57:03 -05:00
sara schvartzman
b17b335f73 Control Rig: Save serialized graph function in function data
#jira UE-171037
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/6390885f5c5308d18c43af06

[CL 23444514 by sara schvartzman in ue5-main branch]
2022-12-08 05:50:56 -05:00
Helge Mathee
d45bd63bb7 Control Rig: Replace cast link with cast nodes
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/636503dfde2c4dbb5d92f669

[CL 23008884 by Helge Mathee in ue5-main branch]
2022-11-07 04:27:49 -05:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
Helge Mathee
723a4ab1bd Control Rig: Support for casting
#rb sara.schvartzman
#jira UE-158186
#preflight https://horde.devtools.epicgames.com/job/635141288449f85a47bd8f5b

[CL 22653713 by Helge Mathee in ue5-main branch]
2022-10-20 08:54:59 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
sara schvartzman
721bcd06b3 Control Rig: Fix Adding execute context to function with bad direction and name
#jira UE-161598
#rb helge.mathee
#preflight 6332e1d6665f6b8f7f3008c1

[CL 22205483 by sara schvartzman in ue5-main branch]
2022-09-27 10:16:45 -04:00
bryan sefcik
7b9e5abbcc Pass 1 on plugins:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631b93c6967ffc68fb2c32df

[CL 21935609 by bryan sefcik in ue5-main branch]
2022-09-10 00:03:16 -04:00
benoit gadreau
5202250140 localizable text
#rb sara.schvartzman
#jira UE-160519
#preflight 62fba6f4ad3bd8ad64530bc8

#robomerge FNMain

[CL 21422223 by benoit gadreau in ue5-main branch]
2022-08-17 04:19:12 -04:00
jamie dale
cd2c04fbed Adding additional includes in preparation for removing a global include
#preflight skip
#rb none
#rnx

#ROBOMERGE-OWNER: jamie.dale
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 21283042 via CL 21286016 via CL 21286060 via CL 21286134
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21291490 by jamie dale in ue5-main branch]
2022-08-09 12:54:53 -04:00
Helge Mathee
3d20407084 RigVM: Refactor template type system to rely on integers rather than string comparisons
* Switching the FRigVMTemplateArgumentType to be backed up by FName instead of FString for faster comparison
* Adding a "Types" storage under the RigVMRegistry of all of the known supported types
* Have the FRigVMTemplateArgument refer to type indices rather than full type structures
* Have the resolval comparison code rely on comparing type indices rather than type structures
* Store relationship between the bool and the TArray<bool> type as an array / element lookup within the registry - to avoid string operations when doing lookups from element to array to 2 dimensional array for a type.
* The preferred types list on the template node is now stored as pairs of argument name and type index <FName, int32> rather than FString.
* Also we no longer support all types for the untyped nodes (such as reroute, select, if etc) - but instead we support all user defined types (non-native structs and enums) as well as all types ever used as a template argument. The reasoning here is that supporting a type that's not used by any node is pointless. This reduced the type set from 9876 to 237.

#rb halfdan.ingvarsson
#jira na
#preflight https://horde.devtools.epicgames.com/job/62b9c666ba62f4498a345be2

[CL 20861728 by Helge Mathee in ue5-main branch]
2022-06-28 13:41:23 -04:00
sara schvartzman
aa4f6f9713 Control Rig: Fix reroute not available when dragging execute context pin
#jira na
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/629e20126e36d50d05f46a4a

[CL 20534560 by sara schvartzman in ue5-main branch]
2022-06-07 04:47:42 -04:00
Helge Mathee
2a04ccc6f5 Control Rig: Show events in Action Palette
#rb benoit.gadreau
#jira na
#preflight https://horde.devtools.epicgames.com/job/6299f65ddd53521c2cb03285

[CL 20485005 by Helge Mathee in ue5-main branch]
2022-06-03 08:26:07 -04:00
Helge Mathee
8695493f34 Control Rig: Allow events to be invoked from top toolbar and context menu
#rb benoit.gadreau
#jira UE-155696
#preflight https://horde.devtools.epicgames.com/job/6299ce559e55f868a0824819

[CL 20484545 by Helge Mathee in ue5-main branch]
2022-06-03 05:50:33 -04:00
Helge Mathee
9c189267d5 ControlRig: user defined events and event invocation
#rb sara.schvartzman
#jira UE-153498 UE-153499
#preflight https://horde.devtools.epicgames.com/job/62975ffb2c618ddc66bb49a4

[CL 20453170 by Helge Mathee in ue5-main branch]
2022-06-01 11:28:01 -04:00
Helge Mathee
6520c809a9 Control Rig: backend work for support for multi graph
#rb benoit.gadreau
#jira UE-153497
#preflight https://horde.devtools.epicgames.com/job/6294be4e2e34c2e487b13394

[CL 20434781 by Helge Mathee in ue5-main branch]
2022-05-31 04:27:20 -04:00
sara schvartzman
72c5a65ac0 Control Rig: Fix undo/redo deleting function with local variables crashes
#jira UE-149614
#rb halfdan.ingvarsson
#fyi helge.mathee
#preflight https://horde.devtools.epicgames.com/job/62693159a211933a6bef654e

[CL 19941542 by sara schvartzman in ue5-main branch]
2022-04-27 12:19:16 -04:00
sara schvartzman
2146c1d931 Control Rig: Fix static analysis issue
#jira UE-149827
#rb trivial
#preflight https://horde.devtools.epicgames.com/job/62666d4b7e06ec750592ae65

[CL 19900005 by sara schvartzman in ue5-main branch]
2022-04-25 06:39:39 -04:00
Helge Mathee
324bb1ec00 RigVM: Reroute to inherit template node
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/625fc59035680893eee448a1

[CL 19826939 by Helge Mathee in ue5-main branch]
2022-04-20 05:02:39 -04:00
Thomas Sarkanen
98c834dfd7 Control rig and RigVM changes to allow for data interface prototype to be further developed
This removes some of the dependencies on UControlRigBlueprint and replaces them with 'host' interfaces for URigVMController and URigVMGraph.
Also adds support for TScriptInterfaces in RigVM. This includes a modification of the RigVM parts of UHT.
Some of these changes are due to be reworked later to allow RigVM-hosting systems to not have to be also implemented in terms of control rig.

#rb Helge.Mathee,Sara.Schvartzman
#fyi Helge.Mathee,Sara.Schvartzman
#preflight 624d857aa64871f1a11ef3f9

[CL 19645705 by Thomas Sarkanen in ue5-main branch]
2022-04-06 08:26:45 -04:00
halfdan ingvarsson
00579ea89f RigvM: Bracket Uobject / Uinterface functionality
Added new define as an overall toggle - defaults to off.
If turned on the functionality can be disabled using a console variable

#rb sara.schvartzman
#jira UE-145106
#preflight https://horde.devtools.epicgames.com/job/6230657b306f46da147a3188

#ROBOMERGE-OWNER: halfdan.ingvarsson
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 19384087 via CL 19384325 via CL 19385988 via CL 19397856 via CL 19397869
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19403124 by halfdan ingvarsson in ue5-main branch]
2022-03-16 03:28:36 -04:00
Helge Mathee
63e119a364 Control Rig: Further template node workflows
Implemented unresolve as well as re-resolve node on already typed pins
Added UI in contextual menu to re-type pins

#rb sara.schvartzman
#jira UE-125892
#preflight https://horde.devtools.epicgames.com/job/622f488f505788e09ffffbe4

[CL 19372564 by Helge Mathee in ue5-main branch]
2022-03-14 10:19:31 -04:00
Helge Mathee
627cb75494 Control Rig: Template Node Support.
The UE_RIGVM_ENABLE_TEMPLATE_NODES is disabled in this submit for now - which disabled the creation of template nodes as well, disabled auto-update functionality during load and spawning resolved templates nodes instead of unit nodes.

We'll enable the define in a follow up submit

#rb jack.cai
#jira na
#preflight https://horde.devtools.epicgames.com/job/621de289ca28c55634199235

[CL 19196111 by Helge Mathee in ue5-main branch]
2022-03-01 04:23:55 -05:00