Commit Graph

234 Commits

Author SHA1 Message Date
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
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
patrick boutot
eb44483859 UMG: GetWidgetTreeOwningClass use the widget class instead of the WidgetTree's owner.
#rb nick.darnell

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20363241 via CL 20363381 via CL 20363410
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20366238 by patrick boutot in ue5-main branch]
2022-05-25 12:08:23 -04:00
patrick boutot
e7fc3f9e55 UMG: Update UWidget::Visibility initialization from SetVisibility to SetVisibilityInternal.
[FYI] vincent.gauthier

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20142060 via CL 20143142 via CL 20143633
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20148091 by patrick boutot in ue5-main branch]
2022-05-11 15:55:37 -04:00
patrick boutot
4f178c7f0c UMG: Update the Widget with accessors.
#rb vincent.gauthier
#preflight 627a4e42705bfaf9ae31ee20

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20123512 via CL 20123528 via CL 20123564
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20125750 by patrick boutot in ue5-main branch]
2022-05-10 13:53:03 -04:00
Patrick Boutot
05475fc49f UMG: Make the some internal flags private. Set the initialize flag once the initialization is completed. That fix an issue with AddExtention. Cached the FObjectProperty in a map, that prevents multiple link list traversal.
#preflight 623b923fbc1cf280387d0988

[CL 19486869 by Patrick Boutot in ue5-main branch]
2022-03-23 17:47:18 -04:00
Patrick Boutot
2fc1a016d5 UMG: Move when the Initialize and Destroyed to be closer to the BP callback. It was previously closer to where the animation code was doing it since I've used it as a template and test case.
#rb daren.cheng
#preflight none

[CL 19302377 by Patrick Boutot in ue5-main branch]
2022-03-08 09:42:49 -05:00
Patrick Boutot
d6de94d3fb UMG: Add UserWidget Extension.
#review vincent.gauthier
#preflight 621e787e257fd6e0992e4fd2

[CL 19211379 by Patrick Boutot in ue5-main branch]
2022-03-01 19:03:12 -05:00
patrick boutot
7bed43cccc UMG: Remove deprecation code bellow 4.23 in UMG code.
#rb vincent.gauthier
#preflight 621cc32a9a5676d19a301114

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19172743 via CL 19172838 via CL 19172865 via CL 19173039 via CL 19173047 via CL 19173891
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19174092 by patrick boutot in ue5-main branch]
2022-02-28 10:47:01 -05:00
daren cheng
f8c6c96caf Fix widget instances not updating in UMG designer on compile
#rb Nick.Darnell
#preflight 6205809d0c64e1822f45d4be

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18944957 via CL 18944990 via CL 18945001 via CL 18946750 via CL 18946879
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18946884 by daren cheng in ue5-main branch]
2022-02-10 19:12:45 -05:00
ben hoffman
a83c590503 Fix an issue where you could crash when binding input delegates to widgets because we were using the PlayerInput class instead of the InputComponent class.
#jira none
#rb trivial
#rnx
#preflight 61f7e717114ec25fe098d953

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18789145 in //UE5/Release-5.0/... via CL 18789159 via CL 18789344
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18789809 by ben hoffman in ue5-main branch]
2022-01-31 10:22:52 -05:00
ben hoffman
c5f6cc9b84 Direct Input Delegate Support inside of Widget Blueprints. This allows users to place the normal "Input Action" and "Input Axis" event nodes in a widget and they will behave as they would in an actor as long as there is an owning Player controller.
#jira UE-130489
#rb andy.davidson
#rb Vincent.Gauthier
#preflight 61b148d218370fb3a0f990c4
#preflight 61ba24739611744de2b53338

#ROBOMERGE-OWNER: ben.hoffman
#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18468289 in //UE5/Release-5.0/... via CL 18468359
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18468368 by ben hoffman in ue5-release-engine-test branch]
2021-12-15 12:34:17 -05:00
jared joyal
773268c3d8 Add latent action to clear StoppedSequencePlayers even if the widget is not ticking and would thus not handle PostTickActionsAndAnimation.
#jira UE-136789 Non-ticking widgets can fail to Play Animation Forward or Play Animation Reverse
[REVIEW]
#tests: PIE: Verified off-screen play, stop, and play again operates as expected, and animation plays when widget starts ticking again.

#ROBOMERGE-AUTHOR: jared.joyal
#ROBOMERGE-SOURCE: CL 18396034 via CL 18396038 via CL 18396188 via CL 18396248 via CL 18396275 via CL 18434710 via CL 18436922
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18436978 by jared joyal in ue5-release-engine-test branch]
2021-12-10 20:08:59 -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
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
patrick boutot
590c271f8b UMG: Move WidgetBlueprintApplicationModes from private to public to enable user defined Mode for the Widget Blueprint Editor.
Add WidgetBlueprintGeneratedClassExtension to let the user grab the Editor from a extended menu item.
Add a OnRegisterTabsForEditor to let the user modify the menu but only in some ApplicationMode.
Add Extension for the Widget Blueprint Editor,  that let the user add extra info in the Blueprint and let the user add extra info to the generated class. The generated info is saved on the WidgetBlueprintGeneratedClass (info is on the Class and not on the UserWidget).
#preflight 616ec7026e12ff000127a408

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 17860855 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v883-17842818)

[CL 17860873 by patrick boutot in ue5-release-engine-test branch]
2021-10-19 10:51:25 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
zousar shaker
836bd0854d Automated search-and-replace pass to change uses of UE_TRANSITIONAL_OBJECT_PTR(Type) to TObjectPtr<Type>.
There were two instance of the type being incorrect and they were manually fixed.

#rb none

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 17472048 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17472069 by zousar shaker in ue5-release-engine-test branch]
2021-09-09 10:07:44 -04:00
vincent gauthier
08470f76ab Change to EditorUtilityWidgetBlueprint to use the Transient package as it's Outer. This prevents the World from being marked dirty when opening or changing a property on the EditorUtilityWidget object.
#rb patrick.boutot,lauren.barnes
#jira UE-115848

#ROBOMERGE-SOURCE: CL 17385608 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17385612 by vincent gauthier in ue5-release-engine-test branch]
2021-09-01 09:06:43 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
Patrick Boutot
98830126c1 Slate: Update Hittestgrid and some FWidgetPath's function to takes a SWidget pointer instead of a SWidget shared ptr to reduce the number shared ptr copy. FWidgetAndPointer uses a TOptional instead of a TSharedPtr.
#jira UE-115497
#rb vincent.gauthier
#preflight 60b66d94107dc600015d58cc

[CL 16532706 by Patrick Boutot in ue5-main branch]
2021-06-02 08:06:36 -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
mark lintott
bd61859350 #jira 112822
#rb johan.torp
Removal of UE4 references in Archive.h

[CL 16002350 by mark lintott in ue5-main branch]
2021-04-14 05:14:13 -04:00