Commit Graph

149 Commits

Author SHA1 Message Date
patrick boutot
6e1d229dd7 UMG: Add flag to call UserWidget::OnInitialized. It would be preferable to not have that flag, like PreConstruct, Construct and Destruct but there is too much deprecation to handle.
#jira UE-191195
#rb editor-ui-systems

[CL 27268113 by patrick boutot in ue5-main branch]
2023-08-22 08:36:45 -04:00
patrick boutot
b8b7b1e074 MVVM: Add option to generate conversion graph when compiling and not saved in the packages.
Useful when graph cannot be saved.
#jira UE-130879

[CL 26614927 by patrick boutot in ue5-main branch]
2023-07-26 14:04:59 -04:00
patrick boutot
607873bd9a UMG: Expose SaveSubObjectsFromCleanAndSanitizeClas to WidgetBlueprintExtension.
[FYI] vincent.gauthier
#jira UE-164353

[CL 26205361 by patrick boutot in ue5-main branch]
2023-06-23 00:47:52 -04:00
zahra nikbakht
69346be708 UMG Animation: Check for the animation binding in named slot content.
#preflight 647616410d55081f5419efb9
#jira none
#rb patrick.boutot

[CL 25679015 by zahra nikbakht in ue5-main branch]
2023-05-30 12:04:48 -04:00
jamie dale
a4a81dd099 Don't reset text IDs when restoring the old widget tree state post-compile to avoid cook determinism issues
This was likely a regression caused by 13773255, as prior to that change each UUserWidget managed its own persistent widget tree and would use PPF_DuplicateVerbatim when building it. That use of PPF_DuplicateVerbatim was lost when that code was removed in favor of building an archetype widget tree on the BPGC.

#jira UE-72591
#preflight 6447ddff773f23812daa7e75
#rb Patrick.Boutot, Dave.Jones2

[CL 25192074 by jamie dale in ue5-main branch]
2023-04-25 19:23:02 -04:00
lauren barnes
9c21f0231b Creating new parent class for widget editing settings and setting up widget and editor utility widget variants.
#jira UE-165638
#rb Daren.Cheng
#preflight 6442e0a5f030f684d51dde25

[CL 25154568 by lauren barnes in ue5-main branch]
2023-04-21 17:43:53 -04:00
patrick boutot
f778be2e4a MVVM: Remove the specialized viewmodel editor and use the Blueprint base editor instead.
#jira UE-182297
#preflight 643df3ff211b661dc4179363, 643e7f5ea35280ed4f198658, 643ea4febf1053846658cad3, 643fd0669566b61450a63e88

[CL 25108939 by patrick boutot in ue5-main branch]
2023-04-19 12:21:08 -04:00
vincent gauthier
5fb48bc9f4 UMG: Adding Desired Focus widget to UserWidget. This new property allow the user widget to forward the focus to one of it's children.
- This functionnality can be used at runtime and in UMG Designer as a default value.

#jira UE-166284
#preflight 643714b900398d6f88719b46
#rb patrick.boutot, daren.cheng

[CL 25025500 by vincent gauthier in ue5-main branch]
2023-04-13 10:53:26 -04:00
marc audy
6381600309 Move UMG/FieldNotification files to the FieldNotification module.
#jira UE-130880
#rb yohann.dossantos
#preflight 64259ab69834526476306f92, 642aee5a6a37fb35e9ba9926

[CL 24905939 by marc audy in ue5-main branch]
2023-04-03 22:29:35 -04:00
patrick boutot
3b969ed119 Fix duplicated Loctext warning introduced with CL 24746024.
#rnx
#issue 279297

[CL 24763887 by patrick boutot in ue5-main branch]
2023-03-23 12:42:34 -04:00
patrick boutot
f7793e2e99 UMG: Detects circular reference in the widgettree at compilation. If a circular exists, the widget will be removed from the compiled widgettree (to prevent callstack overflow). You could repro by creating a circular reference without compiling the UMG assets (new UMG A and B, add B in A, add A in B, compile A or B.
#rb daren.cheng
#preflight 64130855717662d507d4c92f, 641a087f691c5ebc15f28874

[CL 24746716 by patrick boutot in ue5-main branch]
2023-03-22 09:48:09 -04:00
helge mathee
79a424aa16 Blueprint / Control Rig: Support for filtering during ForceLoadMembers
#rb sara.schvartzman dan.oconner
#preflight  https://horde.devtools.epicgames.com/job/6401ed2d59017a559b675372

[CL 24538439 by helge mathee in ue5-main branch]
2023-03-07 07:37:27 -05:00
zahra nikbakht
eb0b438c17 Fix compilation error when binding animation to an inherited widget in UMG.
#jira ue-169479
#rb vincent.gauthier
#preflight 638a16b4303395f6c9a720e9

[CL 23373380 by zahra nikbakht in ue5-main branch]
2022-12-02 10:55:17 -05:00
patrick boutot
1ed29a4a8d MVVM: Selection fixes. Can now select the viewmodel self. Fix the reverse complexe function.
#rb sebastian.nordgren
#preflight 6380e372cc307d6fa5a387bb, 6380ea8833774509007f58f5

[CL 23267974 by patrick boutot in ue5-main branch]
2022-11-25 13:55:44 -05:00
zahra nikbakht
99d9fc0fc3 Fix NamedSlot renaming issue.
#jira ue-78621
#rb vincent.gauthier
#preflight 6346f350663dafe416345940

[CL 22481847 by zahra nikbakht in ue5-main branch]
2022-10-12 13:36:40 -04:00
nick darnell
f09705d808 UMG - Additional improvements to the named slot inheritance system. Named slots use to also allow you to include content as 'example' or 'seed' data whenever you dropped the widgets into a parent. That behavior was and is probably a little sketchy, I don't believe it saw much usage. However, in order to maintain backwards compatability, version bumping the introduction of the inheritance, and introudcing a field to named slots, called, bExposeOnInstanceOnly. This will be checked for any upraded named slot, effectively disabling named slot inheritance for that slot. By default this will be false, so going forward inheritance is the preferred setup methodology.
[REVIEW] [at]editor-ui-systems

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20541430 via CL 20541439 via CL 20541452
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20544460 by nick darnell in ue5-main branch]
2022-06-07 16:17:22 -04:00
nick darnell
401f1ed31d UMG - Further refining the named slot inheritance, we now extend the inheritance through multiple parent classes, and if a parent uses up a slot, then that slot becomes unavailable to subclasses to then be extended. They can also introduce new named slots along the way, so as it refines the structure, it can refine the available named slots. Also fixing being able to drag out of inherited named slots to be moved to other locations, previously was cloning the widget.
[REVIEW] [at]editor-ui-systems
#preflight 629769ba00746d43a2c3832a

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20452348 via CL 20452353 via CL 20452357
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v952-20449836)

[CL 20460595 by nick darnell in ue5-main branch]
2022-06-01 18:07:15 -04:00
Ben Marsh
dde2879803 Fix static analyzer warnings.
#preflight 6294df46380652524edb3498

[CL 20431977 by Ben Marsh in ue5-main branch]
2022-05-30 13:34:24 -04:00
edwin maynard
1ca7c7756d Back out changelist 20397596
[FYI] Nick.Darnell


#ROBOMERGE-AUTHOR: edwin.maynard
#ROBOMERGE-SOURCE: CL 20400220 via CL 20400224 via CL 20400228
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20401296 by edwin maynard in ue5-main branch]
2022-05-27 19:31:56 -04:00
nick darnell
71f7a858ed UMG - Further refining the named slot inheritance, we now extend the inheritance through multiple parent classes, and if a parent uses up a slot, then that slot becomes unavailable to subclasses to then be extended. They cans also introduce new named slots along the way, so as it refines the structure, it can refine the available named slots.
[REVIEW] [at]ui-editor-systems

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20397596 via CL 20397619 via CL 20397628
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20401193 by nick darnell in ue5-main branch]
2022-05-27 19:29:50 -04:00
vincent gauthier
8827f8f266 Localization Duplicate Id fix.
#jira UE-154828
#rb trivial
#preflight trivial

#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 20393484 via CL 20394137 via CL 20394384
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398637 by vincent gauthier in ue5-main branch]
2022-05-27 16:48:29 -04:00
mark lintott
5cc587db36 Fix for Static Analysis warning
#rb trivial
#jira none
#p4v-preflight-copy 20391532
#preflight 6290ca1c1f0041249bed86f8

[CL 20392186 by mark lintott in ue5-main branch]
2022-05-27 09:13:34 -04:00
nick darnell
c227e52edb UMG - Introducing named slot inheritance. This new feature allows parent classes to insert named slots into their hierarchy, and for child classes to insert content into those named slots. This in effect will give people the ability to build base class templates and then derive them to further refine the look and feel in those named slots for the widgets specific purpose. For example, you could make a message box base class widget, with a few named slots for specific specialized message boxes without having to build a new widget from scratch.
[REVIEW] [at]ui-editor-systems

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20383614 via CL 20384610 via CL 20384741
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20386425 by nick darnell in ue5-main branch]
2022-05-26 17:58:02 -04:00
jorge gonzalez
d000a52aa5 Notifies users if a User Widget has a null animation track, prompting them to delete or rebind said track. Deleting null animation tracks can improve performance on larger user widgets.
#ROBOMERGE-AUTHOR: jorge.gonzalez
#ROBOMERGE-SOURCE: CL 20372239 via CL 20372260 via CL 20372279
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20373433 by jorge gonzalez in ue5-main branch]
2022-05-25 19:32:58 -04:00
patrick boutot
d4eb795f50 MVVM:
Compiler support convertion function.
Reset the compiled library after compilation (prevents multiple loading).
Initialize the widget generated class FieldId after a compilation.
When compiling Skel, the class is not link. Property may not be found with FindFieldByName because they were just created.
MVVM message log was not initialized.
Fix nullptr deferecing warning.
#rnx
#rb 19686188

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19705236 via CL 19705239 via CL 19705248
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19705732 by patrick boutot in ue5-main branch]
2022-04-11 09:56:01 -04:00