Commit Graph

1351 Commits

Author SHA1 Message Date
lauren barnes
c95b2d31c4 Updating developer modules relying on Editor styles
#rb trivial
#jira UE-155158
#preflight 62964a4b95336ad2bfc79f49

#ROBOMERGE-OWNER: lauren.barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20440663 via CL 20442312 via CL 20442429 via CL 20442440
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449508 by lauren barnes in ue5-main branch]
2022-06-01 04:24:16 -04:00
simon girard
6b34cf982d Added skew transform to slate fonts to mimic italic. The font atlas is loading the extra glyphs.
[REVIEW] [at]Vincent.Gauthier [at]ui-tech-design
#rb [at]Patrick.Boutot [at]Vincent.Gauthier [at]Adrienne.Pugh
#rnx
#tests: Ran a preflight build
#preflight 627bf7ab1e749933439c5760

#ROBOMERGE-AUTHOR: simon.girard
#ROBOMERGE-SOURCE: CL 20440008 via CL 20440035 via CL 20440039
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448769 by simon girard in ue5-main branch]
2022-06-01 03:57:19 -04:00
Lauren Barnes
89f3af884b Moving status bar styles to the core style location
#jira none
#rb trivial
#preflight 6294e4e63f154a84f7fb5b44

[CL 20435782 by Lauren Barnes in ue5-main branch]
2022-05-31 08:13:55 -04:00
patrick boutot
ae23501700 Slate: Deprecate FSlateFontCache::GetOverflowEllipsisText. The glyph was cached forever. If the glyph contains a material, that material can be invalid/GCed. Reusing that same font later (with the same material but with a different instance) would reuse the same cached glyph with a dangling material pointer.
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20387888 via CL 20387889 via CL 20387896
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20389295 by patrick boutot in ue5-main branch]
2022-05-26 21:24:41 -04:00
lauren barnes
53488dc718 Updating CrashReportClient style to only use images from certain folders, and moving developer tool style setup to individual style classes.
#jira UE-152623
#rb Josh.Adams, Patrick.Boutot, Patrick.Laflamme, Louise.Rasmussen
#preflight 628d6c5faf7a2e956b8de990

#ROBOMERGE-OWNER: lauren.barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20366551 via CL 20368551 via CL 20369147 via CL 20369164
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20370889 by lauren barnes in ue5-main branch]
2022-05-25 16:27:45 -04:00
ben hoffman
7d484ae3d3 Add an FInputDeviceId property to slate input events. This will allow us to derive the owning Platform User from each input event, letting you map inputs to specific local platform users or input devices later down the line. This is a small part of the foundation for making this behavior work.
#jira UE-147792
#rb daren.cheng
#preflight 628d2515347b7778b6cbdf97

[CL 20357560 by ben hoffman in ue5-main branch]
2022-05-24 18:40:09 -04:00
jamie dale
5af742900e Added Bengali, Gujarati, Odia, Kannada, and Malayalam to the list of character ranges that require complex text shaping
#jira
[FYI] Vincent.Gauthier

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 20346002 via CL 20346005 via CL 20346011 via CL 20346012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20346312 by jamie dale in ue5-main branch]
2022-05-24 07:37:29 -04:00
jamie dale
bb7f709d23 Added Tamil to the list of character ranges that require complex text shaping
#jira
[FYI] Vincent.Gauthier

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 20345711 via CL 20345749 via CL 20345769 via CL 20345772
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20346051 by jamie dale in ue5-main branch]
2022-05-24 06:40:16 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
patrick boutot
909db6b19d Slate: Add more info to the GSlateCheckUObjectShapedGlyphSequence test.
#rb vincent.gauthier
#preflight 6287811f8828ea88c84e78b8

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20293353 via CL 20293360 via CL 20293374 via CL 20293379
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305078 by patrick boutot in ue5-main branch]
2022-05-20 18:53:49 -04:00
benjamin rouveyrol
c784ff8e7f fix for editor when r.HDR.EnableHDROutput would be true, but GRHISupportsHDROutput is false (typically happens if no HDR monitor connected).
#preflight 627bb0f60a5817c9d9460f8c
#rb patrick.boutot
#jira none

[CL 20138269 by benjamin rouveyrol in ue5-main branch]
2022-05-11 09:19:22 -04:00
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
lauren barnes
061373a67b Updating plugin to use core styles and remove EditorFontGlyphs
#rb Jason.Walter

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20086195 via CL 20086309
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20108289 by lauren barnes in ue5-main branch]
2022-05-09 15:04:19 -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
26189bda15 DrawElements
Slate: Transform DrawElements from Vector2D to Vector2f. Use FDeprecateVector2D to create a deprecation path for function that returns a FVector2D.
#jira UE-137340
#rb sebastian.nordgren
#preflight 627572e0dd374c4235ce3174, 62791043822bdc69f007e4de

[CL 20102076 by Patrick Boutot in ue5-main branch]
2022-05-09 09:54:59 -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
sebastian nordgren
0bd4338a0c Title bar height is now correctly set to 34 from the previous 24.
#jira UE-141085
#preflight 620d01423d541467563785a3
#lockdown simon.tourangeau

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20042060 in //UE5/Release-5.0/... via CL 20045743
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20047984 by sebastian nordgren in ue5-main branch]
2022-05-04 16:14:27 -04:00
benjamin rouveyrol
428fb1cfce bugfixes for HDR in editor:
conversion to scRGB was happening twice in CompositeUIPixelShader: once during the LUT, and once during ST2084ToScRGB. We now rely only on the LUT to put us to the correct color space, just like we do during tonemapping
Make sure to use rec709 instead of rec2020 in editor, since this is the color space that is used by scRGB (PF_FloatRGBA backbuffer format)
Fixed UI composition to properly composite HDR elements (like the viewport) with the rest of the UI: we draw a black, 0-alpha rectangle as a proxy in the SDR pass for HDR elements, and we draw the HDR elements in their own rendertargets

#preflight 6266e5285037f70ba0f3939b
#jira UE-148996
#rb eric.renaudhoude Rod.Bogart vincent.gauthier

[CL 19918995 by benjamin rouveyrol in ue5-main branch]
2022-04-26 09:16:41 -04:00
dave jones2
1d36b62d36 UE-148463 - Update cumulative time tracking Engine variables to doubles
As a part of the LWC work, this change primarily focues on updating FGameTime and UWorld to use doubles for accumulated time. Note that time deltas will remain as floats.

Additionally:

* A few time-related BP functions were updated to use doubles where appropriate. as well as the FRenderThreadUpdateContext struct for the Slate renderer.
* Some compilation errors were also fixed due to the change.
* Minor changes of float literals to drop the 'f' suffix.

#rb andrew.davidson
#jira UE-148463
#preflight 62603748e30cb43e8cbf2aa7

[CL 19866207 by dave jones2 in ue5-main branch]
2022-04-22 11:57:28 -04:00
patrick boutot
ceca84d082 Slate: Add test to find FShapedGlyphSequence that are not GCed correctly. It can be activated with the cvar Slate.CheckUObjectShapedGlyphSequence
#rb vincent.gauthier
#preflight 6256f5b077269238e1699e4d

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19742190 via CL 19742664 via CL 19742959
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19744846 by patrick boutot in ue5-main branch]
2022-04-13 15:58:06 -04:00
nicholas howe
bf6c97a19f FSlateInvalidationRoot::PaintFastPath_UpdateNextWidget returns true when the widget it is updating needs painting.
#jira UE-147724
#rb patrick.boutot
#preflight 6245deede434babd8af68f21

#ROBOMERGE-AUTHOR: nicholas.howe
#ROBOMERGE-SOURCE: CL 19575678 via CL 19577897 via CL 19578889 via CL 19579168
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19580668 by nicholas howe in ue5-main branch]
2022-03-31 19:26:24 -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
marc audy
8c0e96c2a6 Fix an FVector2D conversion cast in debug builds.
#rb trivial
#rnx

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 19530973 via CL 19531541 via CL 19531569
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19533141 by marc audy in ue5-main branch]
2022-03-28 16:52:58 -04:00
bob tellez
25dbcbc057 Merging CL#19518642
Replace uses of FVector2f with FVector2D in fix for a bug where a volatile widget redraws at an offset within its retainer box, to fix a compile error in contexts where FVector2f contains doubles.

#jira UE-147231
#rb patrick.boutot
#preflight 623e1cab5c289ac26e2ecaa6

#ROBOMERGE-AUTHOR: Nicholas.Howe
#ROBOMERGE-SOURCE: CL 19518799 via CL 19518805 via CL 19518811
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19519510 by bob tellez in ue5-main branch]
2022-03-25 18:29:28 -04:00
nicholas howe
189a088784 Fix a bug where a widget disappears for a frame when it changes from volatile to non-volatile, by adding the NeedsRepaint update flag in SWidget::UpdateFastPathVolatility when the widget is not volatile.
#jira UE-147232
#rb patrick.boutot
#preflight 623def3d176814cb3ae208e3

#ROBOMERGE-AUTHOR: nicholas.howe
#ROBOMERGE-SOURCE: CL 19516552 via CL 19517665 via CL 19517712 via CL 19517718
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19519487 by nicholas howe in ue5-main branch]
2022-03-25 18:28:53 -04:00