Commit Graph

177 Commits

Author SHA1 Message Date
daren cheng
d5419d2cf5 Fix retainer not rendering in editor
#jira UE-135286
#preflight 6410d1d8290c6e5d771340c0
#rb patrick.boutot

[CL 24646652 by daren cheng in ue5-main branch]
2023-03-14 18:59:41 -04:00
daren cheng
333965743c Add option to ignore editor gamepad navigation actions in slate.
#jira UE-175112
#rb Patrick.Boutot Dominik.Peacock
#preflight 63e68636de74ffbae528296c
#lockdown jeanmichel.dignard

[CL 24136553 by daren cheng in ue5-main branch]
2023-02-11 12:26:39 -05:00
Patrick Boutot
7b1dd02db9 Slate: Add the application scale to the input event visualizer
#rb none
#preflight 63d17d2aef20a5272db5f257

[CL 23853158 by Patrick Boutot in ue5-main branch]
2023-01-25 14:19:24 -05:00
daren cheng
4187de1509 Backout CL 23600931. Breaks pick painted widgets.
#jira UE-173455
#rb trivial
#preflight skip

[CL 23633947 by daren cheng in ue5-main branch]
2023-01-10 16:41:02 -05:00
Andrew Rodham
4ff7bab147 Slate: Initial phase of FVector2D deprecation
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms.
  - Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms.
  - Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction.
  - Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry
  - Exposed FVector2f members to blueprints

#jira none
#rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot
#preflight 63bc6fd068068a8bd6027c9f

[CL 23631073 by Andrew Rodham in ue5-main branch]
2023-01-10 14:46:43 -05:00
daren cheng
95ff3fd343 Prep for element generation for possible bulk batch creation per element type.
Migrate FSlateRenderBatch index poputation to a simple static array return in boxes, borders, and aliased lines.

#rb Patrick.Boutot, Yohann.Dossantos
#jira UE-173455
#preflight 63b745c1d862fdd347cc2d35

[CL 23602247 by daren cheng in ue5-main branch]
2023-01-06 15:25:29 -05:00
Patrick Boutot
6e41842c5e Add SlateRHIRenderer debuggin option to WidgetReflector
#rb daren.cheng
#preflight 635fecb86e6dca1fb4a0dd4f

[CL 22865154 by Patrick Boutot in ue5-main branch]
2022-10-31 12:18:30 -04:00
robert millar
0491bcc13c FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for misc developer dir files.

#jira UE-161932
#rb none
#preflight 631f8070fd6da68d68b56472

[CL 21976423 by robert millar in ue5-main branch]
2022-09-12 19:53:59 -04:00
bryan sefcik
a3dddc6630 Pass 1 on Developer include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e281694758d0bf2ea1399

[CL 21960082 by bryan sefcik in ue5-main branch]
2022-09-11 18:32:18 -04:00
Patrick Boutot
c8fb567e59 SlateReflector: Add the return value from OnPaint to the WidgetReflector.
#rb vincent.gauthier
#preflight 62d841a43c3df323908f2d68

[CL 21185106 by Patrick Boutot in ue5-main branch]
2022-07-20 14:02:04 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
Patrick Boutot
bdae98ad4e Slate: Transform some ElementPayload from Vector2D to Vector2f. Use FDeprecateVector2D to create a deprecation path for function that returns a FVector2D.
#jira UE-137340
#rb sebastian.nordgren
#preflight 6273e2f3230c8997ad94b076

[CL 20059075 by Patrick Boutot in ue5-main branch]
2022-05-05 12:02:42 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
jurre debaare
a2516063e9 Widget reflector menu is not shown on OSX
#fix ensure that MenuBar widget is applied to respective TabManager
#jira UE-142930
#rb Vincent.Gauthier
#preflight 620d2668742ffef42023c6ea

#ROBOMERGE-AUTHOR: jurre.debaare
#ROBOMERGE-SOURCE: CL 19147104 in //UE5/Release-5.0/... via CL 19147470
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19156457 by jurre debaare in ue5-main branch]
2022-02-25 16:13:55 -05:00
Patrick Boutot
9a25cb2936 Fix duplicated localization key
#jira UE-141552
#rnx
#review-19133821 none
#preflight none

[CL 19133818 by Patrick Boutot in ue5-main branch]
2022-02-24 19:38:44 -05:00
patrick boutot
164f81893b Slate: Fix duplicated localization key.
#jira UE-141552
#rnx
#preflight 62050b5c664a8266289441dc

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18934898 via CL 18934906 via CL 18934910 via CL 18935225 via CL 18935306
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18935308 by patrick boutot in ue5-main branch]
2022-02-10 09:36:51 -05:00
patrick boutot
68d0f9cf48 Slate: Fix VerifyWidgetLayerId to only use the invalidation test when we painted in fast path. Add the VerifyOutgoingLayerId to the Widget Reflection test list.
#jira UE-136046
#rb none
#preflight 62017574384d6a94e8dc65bf

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18897351 via CL 18897352 via CL 18897354 via CL 18903428 via CL 18903856
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v912-18901109)

[CL 18903906 by patrick boutot in ue5-main branch]
2022-02-08 12:08:49 -05:00
andrew davidson
3debbbd465 Fix FVector2D variant casts
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8719ea6632a34f35e654b

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18801709 in //UE5/Release-5.0/... via CL 18802160 via CL 18821533
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821619 by andrew davidson in ue5-main branch]
2022-02-02 01:45:23 -05:00
JeanMichel Dignard
5ceaa4da35 In preparation for the editor low level tests, replaced checks against TargetType.Editor with bCompileAgainstEditor in module files.
#rb none
#preflight 61eaca4b445cebac10c368f1

[CL 18689576 by JeanMichel Dignard in ue5-main branch]
2022-01-21 10:26:31 -05:00
daren cheng
a273e6703b Dismiss tooltip from widget reflector when context menu is spawning.
#jira UE-130414
#robomerge 5.0
#preflight 61e4e1bea2616066f6716210
#rb trivial

[CL 18639946 by daren cheng in ue5-main branch]
2022-01-18 10:13:39 -05:00
patrick boutot
8f895ca8cd WidgetReflector: Display the running validation test. Most of them only make sense in GlobalInvalidation. It's not that useful in that menu but it makes them easily discoverable.
#rb vincent.gauthier
#preflight 61d6ebd54c252480ca26974e

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18531760 via CL 18531764 via CL 18531773 via CL 18532149 via CL 18533866 via CL 18534078
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18534231 by patrick boutot in ue5-main branch]
2022-01-06 14:22:17 -05:00
patrick boutot
7d21d95312 WidgetReflector: Display the running validation test. Most of them only make sense in GlobalInvalidation. It's not that useful in that menu but it makes them easily discoverable.
#rb vincent.gauthier
#preflight 61d6ebd54c252480ca26974e

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18531760 via CL 18531764 via CL 18531773 via CL 18532149 via CL 18533866
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18534078 by patrick boutot in ue5-release-engine-test branch]
2022-01-06 14:14:59 -05:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
matt hoffman
c2db41a9a2 Widget Inspector: Add the 'Source' name to the tooltip as the tooltip often covers up the source name.
#jira Trivial
#rb Patrick.Boutot

#ROBOMERGE-AUTHOR: matt.hoffman
#ROBOMERGE-SOURCE: CL 18522591 in //UE5/Release-5.0/... via CL 18522658 via CL 18522703
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18522743 by matt hoffman in ue5-main branch]
2022-01-05 14:17:17 -05:00