Commit Graph

149 Commits

Author SHA1 Message Date
Patrick Boutot
02661d9bc4 Slate: Transform ResourceManager & SlateRenderer from Vector2D to Vector2f.
#jira UE-137340
#rb vincent.gauthier
#preflight 627a4b80fc07e0a9b4ee414c

[CL 20125423 by Patrick Boutot in ue5-main branch]
2022-05-10 13:26:06 -04:00
patrick boutot
9dd7a01831 Slate: Use reference when iterating on SWidget children.
#rb daren.cheng
#preflight 62444810dc6183e3f5f0836b

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19557164 via CL 19557298 via CL 19557360
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561867 by patrick boutot in ue5-main branch]
2022-03-30 14:51:54 -04:00
patrick boutot
0de0725d3d Slate: Try to fix random crash while iterating on SWidget.
#rb none
#preflight 61fce6e2e058822bdabf53a7

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18861466 via CL 18861467 via CL 18861468 via CL 18861668 via CL 18861772
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18861779 by patrick boutot in ue5-main branch]
2022-02-04 06:55:54 -05:00
patrick boutot
beb5f7670e Slate: Fix Num() that is not called every loop like previoulsy. Some widgets add/remove children while they are beeing iterating on.
#jira UE-139306, FORT-444155
#preflight 61f842e8a6632a34f3525401

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18803173 via CL 18803177 via CL 18803181 via CL 18804419 via CL 18821687
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822073 by patrick boutot in ue5-main branch]
2022-02-02 02:16:11 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00
patrick boutot
e340a0acab Slate: Fix reference to rvalue in FChildren
#jira UE-139306
[FYI] daren.cheng
#preflight none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18772549 in //UE5/Release-5.0/... via CL 18772571 via CL 18772833
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18772841 by patrick boutot in ue5-main branch]
2022-01-28 12:00:27 -05:00
patrick boutot
742d5b30a7 Slate: Remove had used to detect rare thread issue.
#jira UE-139306
#preflight 61f2ba66f50f352300ceacd2

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18755151 via CL 18755161 via CL 18755167 via CL 18756773 via CL 18758805
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18760836 by patrick boutot in ue5-main branch]
2022-01-27 15:47:39 -05:00
aurel cordonnier
bf8783604c Fix for no unity error
#rnx
#preflight none
[FYI] daren.cheng

#ROBOMERGE-OWNER: aurel.cordonnier
#ROBOMERGE-AUTHOR: aurel.cordonnier
#ROBOMERGE-SOURCE: CL 18719673 via CL 18720019 via CL 18720025 via CL 18720617 via CL 18720676
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18720678 by aurel cordonnier in ue5-main branch]
2022-01-25 03:36:30 -05:00
marc audy
6553e6cd0a Remove as much C++ deprecation as possible up to 4.17 (along with a few scattered removals from beyond)
#preflight 61eefc77ba69a4fdb220bf23

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18712765 in //UE5/Release-5.0/... via CL 18712784 via CL 18713147
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713191 by marc audy in ue5-main branch]
2022-01-24 15:07:48 -05:00
ben hoffman
64e252935c Clean up type truncation warnings
#jira UE-116218
#rb trivial
#rnx
#preflight 61e6efb4837b79f7ccebe551

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18641648 in //UE5/Release-5.0/... via CL 18641663 via CL 18641684
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18641708 by ben hoffman in ue5-main branch]
2022-01-18 12:13:22 -05:00
andrew davidson
64ac833019 Reduce UI memory regression caused by FVector2D conversion to double.
#rb matt.kuhlenschmidt
#rnx

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18442516 via CL 18442517 via CL 18442518 via CL 18442619 via CL 18445006
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18445183 by andrew davidson in ue5-release-engine-test branch]
2021-12-13 13:31:04 -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
99ae894746 Slate: Change the inner type of FChildren::FWidgetRef::WidgetReference to prevent implicit copy of the argument in unoptimized build.
#preflight 60f725e75eeb86000177f356
[FYI] francis.hurteau

#ROBOMERGE-SOURCE: CL 16907898 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16907906 by patrick boutot in ue5-release-engine-test branch]
2021-07-21 07:31:22 -04:00
patrick boutot
a5daabaadf Slate: Rename FSlateDeprecatedTAttribute to TSlateDeprecatedTAttribute to respect the coding standards.
#ROBOMERGE-SOURCE: CL 16848023 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16848035 by patrick boutot in ue5-release-engine-test branch]
2021-07-14 07:12:38 -04:00
patrick boutot
bbdccc862f Fix shadow declaration type introduced with CL16841247
#rb none

#ROBOMERGE-SOURCE: CL 16843042 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16843061 by patrick boutot in ue5-release-engine-test branch]
2021-07-13 17:32:34 -04:00
patrick boutot
c26cf7c6c3 Slate: Convert SCanvas TAttribute to TSlateAttribute.
#jira UE-109146
#preflight 60edaf36a34bf50001dd8256

#ROBOMERGE-SOURCE: CL 16841247 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16841262 by patrick boutot in ue5-release-engine-test branch]
2021-07-13 15:31:13 -04:00
marc audy
b285429036 "Fix" error C4003 not enough arguments for function-like macro invocation 'max'
[CODEREVIEW] Patrick.Boutot

#ROBOMERGE-SOURCE: CL 16820585 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16820586 by marc audy in ue5-release-engine-test branch]
2021-07-11 20:10:43 -04:00
marc audy
7c4efd3e97 Fix shadowing error
[CODEREVIEW] Patrick.Boutot

#ROBOMERGE-SOURCE: CL 16815985 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16816001 by marc audy in ue5-release-engine-test branch]
2021-07-08 13:14:09 -04:00
marc audy
b17ed28f8d Remove incorrectly nested deprecation pragma
[FYI] Patrick.Boutot

#ROBOMERGE-SOURCE: CL 16811718 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v836-16769935)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 16811719 by marc audy in ue5-release-engine-test branch]
2021-07-06 12:58:28 -04:00
brandon schaefer
2a965e7c5f Fix issues where if WITH_SLATE_DEBUGGING is force to 0 in a debug build it fails to compile
#jira none
#rb none
[FYI] Lauren.Barnes

#ROBOMERGE-SOURCE: CL 16787974 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16787982 by brandon schaefer in ue5-release-engine-test branch]
2021-06-25 15:51:37 -04:00
patrick boutot
49d5a42b50 Fix "hides class member" compilation warnings in WidgetSlotWithAttributeSupport.h
#ROBOMERGE-SOURCE: CL 16785657 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16785662 by patrick boutot in ue5-release-engine-test branch]
2021-06-25 13:04:17 -04:00
patrick boutot
b3b65556b2 Slate: Add TSlateSlotAttribute, an equivalent of TSlateMemberAttribute but for FSlot. TSlateMemberAttribute only supports SWidget. Used an interface to support more types in the future. TSlateSlotAttribute are updated in the order they are declared (like TSlateMemberAttribute) and by index in the TPanelChildren array.
#jira UE-109145
#rb daren.cheng
#preflight 60d5ca630123b7000150eb46

#ROBOMERGE-SOURCE: CL 16782896 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16782901 by patrick boutot in ue5-release-engine-test branch]
2021-06-25 09:22:03 -04:00
patrick boutot
36f88a5cbb 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

#ROBOMERGE-SOURCE: CL 16639956 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16639979 by patrick boutot in ue5-release-engine-test branch]
2021-06-11 07:57:30 -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