Commit Graph

281 Commits

Author SHA1 Message Date
jack cai
f72bcf15df ControlRig: Rename exposed pin should also rename the display name in addition to the name of the pin object
#jira UE-160796
#rb sara.schvartzman, benoit.gadreau, helge.mathee
#preflight skip

[CL 21467698 by jack cai in ue5-main branch]
2022-08-19 19:19:45 -04:00
Helge Mathee
36e8d6d357 RigVM: Nullptr fix for GetRegisteredUnitStructs
#rb sara.schvartzman
#preflight skip
#jira UE-158949
#robomerge FNMain

[CL 21402493 by Helge Mathee in ue5-main branch]
2022-08-16 05:18:31 -04:00
helge mathee
317046bf91 RigVM: Generalize all execute pins to use the RigVMExecuteContext
#rb sara.schvartzman
#jira UE-159391
#preflight https://horde.devtools.epicgames.com/job/62f39397086f90bbc4d92510

#ROBOMERGE-OWNER: helge.mathee
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 21333330 via CL 21333332 via CL 21333623
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21334003 by helge mathee in ue5-main branch]
2022-08-11 06:58:29 -04:00
sara schvartzman
f5caea7afc Control Rig: Fix new name of the Function does not display on Function's node in the Rig Graph after renaming
#jira UE-160273
#rb helge.mathee
#preflight 62f4d3e5185b21882a28d8e5

[CL 21333761 by sara schvartzman in ue5-main branch]
2022-08-11 06:17:57 -04:00
sara schvartzman
897cf294b1 Control Rig: Fix crash when undoing collapse function references
#jira UE-159919
#rb helge.mathee
#preflight 62f139b7d834fe6ee78ff81d

[CL 21282179 by sara schvartzman in ue5-main branch]
2022-08-09 05:01:30 -04:00
sara schvartzman
5d52a11107 Control Rig: Fix crash when copy pasting template node
#jira UE-159896
#rb helge.mathee
#preflight 62f127ec185da2495f7b3e81

[CL 21282129 by sara schvartzman in ue5-main branch]
2022-08-09 04:58:19 -04:00
helge mathee
05433d025b Control Rig: Support watches within functions
#rb sara.schvartzman
#jira UE-144667
#preflight https://horde.devtools.epicgames.com/job/62d56f76af68cd745b024095

#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 21161137 via CL 21165954 via CL 21169879
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182735 by helge mathee in ue5-main branch]
2022-07-20 12:20:55 -04:00
sara schvartzman
f0c793ff54 Control Rig: Fix crash when undo/redoing paste of library node with bounded variables
#jira UE-159285
#rb helge.mathee
#preflight 62d5a98aaf68cd745b23556b
#robomerge FNMain

[CL 21161253 by sara schvartzman in ue5-main branch]
2022-07-19 09:14:23 -04:00
sara schvartzman
759ade463a Control Rig: Adding aggregates for template nodes
#jira UE-147512
#rb helge.mathee
#preflight 62d459d499514be7eb2920a4

[CL 21143858 by sara schvartzman in ue5-main branch]
2022-07-18 04:44:55 -04:00
sara schvartzman
339fb58e04 Control Rig: Fix compile issue
#jira na
#rb trivial

#ROBOMERGE-AUTHOR: sara.schvartzman
#ROBOMERGE-SOURCE: CL 21096155 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21099282 by sara schvartzman in ue5-main branch]
2022-07-14 17:07:44 -04:00
sara schvartzman
8a614978b8 Control Rig: Fix ensure hit when openning rigs with FRigPose pins
#jira UE-159392
#rb helge.mathee
#preflight 62cfe0f6a4645cf7b0099ae7


#ROBOMERGE-OWNER: sara.schvartzman
#ROBOMERGE-AUTHOR: sara.schvartzman
#ROBOMERGE-SOURCE: CL 21091246 via CL 21091293 via CL 21091498 via CL 21095119
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21099193 by sara schvartzman in ue5-main branch]
2022-07-14 17:05:41 -04:00
sara schvartzman
44e04d8fe0 Control Rig: Fix ensure hit when openning rigs with FRigPose pins
#jira UE-159392
#rb helge.mathee
#preflight 62cfe0f6a4645cf7b0099ae7
#robomerge FNMain

[CL 21091246 by sara schvartzman in ue5-main branch]
2022-07-14 11:15:57 -04:00
sara schvartzman
eec59437e9 Control Rig: Collapse nodes with templates
#jira UE-146929
#rb helge.mathee
#preflight 62ced5dbd00f3c208e47c183

[CL 21089290 by sara schvartzman in ue5-main branch]
2022-07-14 06:53:37 -04:00
ronald koppers
12979e53c2 FMessageLog::CriticalError has been deprecated.
FMessageLog::CriticalError has a delay before throwing an assert to allow compositing of the message. As a result the assert isn't thrown at the location of the problem, but somewhere in the surrounding area, which makes the problem harder to debug and generates misleading log entries. Due to these problems FMessageLog::CriticalError and EMessageSeverity::CriticalError have been deprecated. It's recommended to use checkf instead.

When FMessageLog goes out of scope or is destroyed explicitly it will flush its messages to the log, which in turn means the log may immediately use the messages. In a few places a reference to the message was kept that outlived the lifetime of the owning FMessageLog in order to add arguments later on. The found cases have been updated to make sure FMessageLog doesn't outlive the addition of the arguments so the arguments are correctly passed to the log.

#jira: UE-155605
#rb brooke.hubert francis.hurteau jerome.delattre
#preflight 62cc4fca9922f7e5129e4e0a

[CL 21042765 by ronald koppers in ue5-main branch]
2022-07-11 12:58:26 -04:00
Helge Mathee
8671edf67f RigVM: Support upgrading from struct to dispatch
#rb na
#jira na
#preflight https://horde.devtools.epicgames.com/job/62c802d1e060ecd065af7a49

[CL 21004729 by Helge Mathee in ue5-main branch]
2022-07-08 06:19:10 -04:00
Helge Mathee
8b0318e6bc RigVM: Dispatch Factory Support
* Moved TypeIndex from int32 to typedef for easier debugging
* Implemented Dispatch Factory
* Factories stored under registry
* FindFunction to invoke dispatch
* Runtime Type checking on the memory handle
* Implemented dispatch rigvm node
* Unit testing for numeric add test both for low level + controller layer

#rb sara.schvartzman
#jira UE-157794
#preflight https://horde.devtools.epicgames.com/job/62c4541b2f31b87c6c89360a

[CL 20942948 by Helge Mathee in ue5-main branch]
2022-07-05 11:39:15 -04:00
sara schvartzman
71f7a3bafb Control Rig: Fix crash when connecting a cast node after resolving to a different type
#jira UE-157652
#rb helge.mathee
#preflight 62c2f2508d5e678759a11cf3

[CL 20939457 by sara schvartzman in ue5-main branch]
2022-07-05 04:39:56 -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
benoit gadreau
b0b3bc6a23 Follow up to CL20773015
improved RefreshAllModels
- from 431.621 ms to  318.637 ms when first opening CR_Mannequin_Body
- from 6.930 sec to 3.390 sec for next openings


#jira UE-155783
#rb helge.mathee
#preflight 62b45cd1755c7d63a787d42b

[CL 20793285 by benoit gadreau in ue5-main branch]
2022-06-23 08:44:39 -04:00
Helge Mathee
f6e4dd586e Control Rig: Export aggregate node properly
#rb benoit.gadreau
#jira UE-151729
#preflight https://horde.devtools.epicgames.com/job/62b189ce27718d2d48106113

[CL 20755316 by Helge Mathee in ue5-main branch]
2022-06-21 06:29:33 -04:00
Helge Mathee
5409f37548 Control Rig: Construction Event
Changes include
* renamed setup event to construction event
* new nodes to spawn bones, nulls, controls etc
* class settings to limit how many elements can be created procedurally
* lookup from procedural element to spawner node (who created this?)

#preflight https://horde.devtools.epicgames.com/job/62b0d9c62405b4ac9e774bf4
#jira UE-153500
#rb audit

[CL 20754666 by Helge Mathee in ue5-main branch]
2022-06-21 04:15:34 -04:00
Helge Mathee
10b6192609 Control Rig: Fix crash when connecting subpins of template nodes
#jira na
#rb sara.schvartzman
#preflight https://horde.devtools.epicgames.com/job/62b02d68a4631339e99ff77b

[CL 20734454 by Helge Mathee in ue5-main branch]
2022-06-20 04:40:24 -04:00
Helge Mathee
21e41be54a Control Rig: Fix crash when connecting to template node to other type
#jira UE-156578
#rb sara.schvartzman
#preflight 62ab47f91e0da10371e55e23

[CL 20734361 by Helge Mathee in ue5-main branch]
2022-06-20 04:14:02 -04:00
Helge Mathee
d76c4506cc RigVM: Maintain pin state during unresolve for pins that didn't change type
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/62a3059d2e1cc34f11d3b6c8

[CL 20593736 by Helge Mathee in ue5-main branch]
2022-06-10 08:18:43 -04:00
Helge Mathee
80dd846962 RigVM: Change order of arguments / pins to be based on super -> child struct
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/62a1fb0ae025a4126b6282ef

[CL 20591381 by Helge Mathee in ue5-main branch]
2022-06-10 03:42:15 -04:00