aurel cordonnier
d17d20ca36
Merge from Release-Engine-Test @ 16758890 to UE5/Main
...
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)
[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Steve Robb
8a8da9d696
TSharedPtr now uses std::atomic and more appropriate (more optimal) memory ordering in ESPMode::ThreadSafe mode.
...
#rb andriy.tylychko
#jira none
[CL 16758234 by Steve Robb in ue5-main branch]
2021-06-23 11:56:03 -04:00
Patrick Boutot
2f19029159
Slate: Remove the SlateAttribute dependency feature in favor of OnValueChanged.
...
#preflight 60c72c33b9446100017019b3
[CL 16659164 by Patrick Boutot in ue5-main branch]
2021-06-14 11:47:42 -04:00
Patrick Boutot
2ed0275040
Slate: Re-introduce SlateAttribute.OnValueChanged(). N.B. You are only allowed to invalidate attribute in the callback that doesn't affect the child order or the visibility of the widget.
...
[CL 16653867 by Patrick Boutot in ue5-main branch]
2021-06-13 10:22:57 -04:00
Patrick Boutot
aa18ef4a11
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
[CL 16639956 by Patrick Boutot in ue5-main branch]
2021-06-11 07:54:18 -04:00
Patrick Boutot
35e97f55a6
Slate: Split the Invalidation update loop for better performance tracking.
...
#preflight 60c108e31ab0310001892cca
[CL 16612339 by Patrick Boutot in ue5-main branch]
2021-06-09 16:49:03 -04:00
Patrick Boutot
be0bfb8fbd
Slate: Enforce that only some InvalidateWidgetReason are supported by SlateAttribute.
...
#preflight 60c0adcfb1a4a30001dbfcdb
[CL 16606112 by Patrick Boutot in ue5-main branch]
2021-06-09 11:36:38 -04:00
Patrick Boutot
87d51ffb40
Slate: Change SWidget::IsHovered and IsDirectlyHovered to not be virtual anymore. Use SWidget::IsHoverable or SWidget::SetHover. This allow us to reduce the number of attribute on SButton.
...
#jira UE-115497
#rb daren.cheng
#preflight 60bf54595bc96f0001b7a875
[CL 16586132 by Patrick Boutot in ue5-main branch]
2021-06-08 08:54:29 -04:00
PJ Kack
1072f325a7
Slate: Fix memory access write violation caused by 16276861 where WidgetsNeedingPrepassUpdate could be writing to an already reset FastWidgetPathList.
...
Reset all arrays in FSlateInvalidationRoot::InvalidateRootChildOrder (code by Patrick.Boutot)
#jira UE-116075, UE-116402
#rb Patrick.Boutot
#rnx
[CL 16569962 by PJ Kack in ue5-main branch]
2021-06-07 10:02:33 -04:00
brooke hubert
ee8f252d7d
Fix an issue with the deprecated event macro for _Lambda expansion.
...
#Jira none
#rb Vincent.Gauthier
#fyi matt.kuhlenschmidt
#preflight 60b8ed8c4d507d0001ec5c6f
[CL 16549609 by brooke hubert in ue5-main branch]
2021-06-03 13:23:22 -04:00
UnrealBot
aa952f5758
Branch snapshot for CL 16549112
...
[CL 16549112 in ue5-main branch]
2021-06-03 18:23:24 +00:00
Patrick Boutot
5dab1d6b07
Rename SWidget::IsConstructionCompleted to SWidget::IsConstructed
...
#preflight 60b8b27dae46a1000183d5ec
[CL 16546170 by Patrick Boutot in ue5-main branch]
2021-06-03 08:05:10 -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
Patrick Boutot
4f0a62565e
Slate: Convert SSynthTooltip, SUniformWrapPanel, and other panels FSlot to the FSlotArgument syntax.
...
#jira UE-114425
#preflight 60b6757c6073fb00011a00ff
[CL 16532209 by Patrick Boutot in ue5-main branch]
2021-06-02 07:29:46 -04:00
Patrick Boutot
543a6c5f4c
Slate: Convert SSegmentedControl FSlot's to the FSlotArgument syntax.
...
#jira UE-114425
#preflight 60b6197ef45a94000107e4c8
[CL 16513103 by Patrick Boutot in ue5-main branch]
2021-06-01 08:58:15 -04:00
Patrick Boutot
370cfaa4ca
Slate: Remove some shared ptr copy. Fix slot access in FChildren and add a ForEach function.
...
#jira UE-115497
#rb vincent.gauthier
#preflight 60b524a6f45a940001e24a28
[CL 16510610 by Patrick Boutot in ue5-main branch]
2021-05-31 15:42:59 -04:00
aurel cordonnier
43fa62fcd8
Merge from Release-Engine-Test @ 16487383 to UE5/Main
...
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526
[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
brooke hubert
01582b3cd2
Slate Events can now be deprecated when using SLATE_EVENT_DEPRECATED.
...
To use, you will need to provide
* the deprecation version and message, similar to UE_DEPRECATED
* the deprecated delegate class type
* the deprecated event name
* the upgraded delegate event name
* a conversion function that converts the data parameters from the deprecated event execute to the upgraded event execute
#preflight 60a711d0a5fa6d00018d6949
#Jira none
#rb vincent.gauthier
#fyi matt.kuhlenschmidt
[CL 16473031 by brooke hubert in ue5-main branch]
2021-05-26 14:42:55 -04:00
daren cheng
988bda36c7
Add default size to default button style.
...
#jira UE-97576
#rb trivial
[CL 16472558 by daren cheng in ue5-main branch]
2021-05-26 14:09:14 -04:00
Patrick Boutot
d1914f8a57
Slate: Convert SCanvas, SRadialBox, SSplitter, SUniformgridPanel and SWidgetSWitcher FSlot's to the FSlotArgument syntax.
...
#jira UE-114425
#preflight 60ae50be88460e0001933d28
[CL 16469709 by Patrick Boutot in ue5-main branch]
2021-05-26 11:07:57 -04:00
Steve Robb
1f3fe8c9ac
Some ANSICHAR/UTF8CHAR cast fixes for upcoming changes to StringConv.h.
...
#rb none
#jira none
[CL 16469364 by Steve Robb in ue5-main branch]
2021-05-26 10:45:12 -04:00
Patrick Boutot
f1e1f100ca
Disable UE_SLATE_WITH_MEMBER_ATTRIBUTE_DEBUGGING. It's too slow in debug.
...
#fyi mikko.mononen
[CL 16466825 by Patrick Boutot in ue5-main branch]
2021-05-26 07:34:37 -04:00
Patrick Boutot
aeea5f0679
Slate: Convert SConcertScrollBox, SWrapBox, SBoxPanel, SWindow FSlot's to the FSlotArgument syntax.
...
#jira UE-114425
#preflight 60adb0b704188d000133d0b9
[CL 16466544 by Patrick Boutot in ue5-main branch]
2021-05-26 06:42:00 -04:00
freezernick
9b69d877fc
PR #8052 : Fix Tritanope DisplayName (Contributed by freezernick)
...
#jira UE-116192
#rb vincent.gauthier
[CL 16452791 by freezernick in ue5-main branch]
2021-05-25 13:40:58 -04:00
Patrick Boutot
b2ba58545c
Fix build with "error C4458: declaration of 'Slot' hides class member"
...
#rb none
#rnx
[CL 16451220 by Patrick Boutot in ue5-main branch]
2021-05-25 12:35:31 -04:00