Commit Graph

1341 Commits

Author SHA1 Message Date
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
nicholas howe
a94fbd1aff Fix a bug where a volatile widget redraws at an offset within its retainer box, by caching the view offset it was painted with on the slow path and reusing it on the fast path.
#jira UE-147231
#rb patrick.boutot
#preflight 623def94361866e20fdfc878

#ROBOMERGE-AUTHOR: nicholas.howe
#ROBOMERGE-SOURCE: CL 19516539 via CL 19517660 via CL 19517679 via CL 19517697
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19519486 by nicholas howe in ue5-main branch]
2022-03-25 18:28:47 -04:00
aditya ravichandran
3fba7c938e StarshipStyle: Rename "EditorViewport.SubMenu.Layouts" to "Icons.Layout" and move it to StarshipCoreStyle
#rn deprecation editor
#jira UE-147073
#rb louise.rasmussen
#preflight 623e14b96d39f6b5a05b87fe

[CL 19517936 by aditya ravichandran in ue5-main branch]
2022-03-25 15:45:41 -04:00
Zak Middleton
878b4416b8 #ue5 - TransformCalculus converted to support templated types, and converted existing types to use templates.
Currently the old types (eg FTransform2D) are typedef'd to use the float version for backwards compat. After Slate converts its internal usage, this can be revisited and swapped to double by default for consistency with engine types; this will require Slate to start using its own defined type for all slate code for clarity.

#jira UE-138848
#rb Patrick.Boutot, Andrew.Davidson
#fyi Patrick.Boutot
#preflight 6238b3c1c73745c6008c37d3

[CL 19457342 by Zak Middleton in ue5-main branch]
2022-03-21 16:08:17 -04:00
Louise Rasmussen
996eb28a92 Updated Check styles & Differentiating Menu Check Styles
#JIRA UE-144135
#preflight 622fe86f306f46da14635844

[CL 19381139 by Louise Rasmussen in ue5-main branch]
2022-03-14 21:18:44 -04:00
Luke Thatcher
ee64a28f30 Copying //UE5/Dev-ParallelRendering to //UE5/Main
This change is the copy-up of work from //UE5/Dev-ParallelRendering to unify the various RHI texture types
 - The separate RHI texture types (FRHITexture2D, FRHITexture2DArray, FRHITexture3D, FRHITextureCube, FRHITextureCubeArray) have been replaced with a single type: FRHITexture.
 - Includes the required refactoring / fixes for the various platform RHIs.

The old texture types are still supported via typedefs, but will soon be marked deprecated. Future rendering code should make use of the FRHITexture type instead.

#jira UE-139559
#rb Mihnea.Balta
#preflight 622f3af819287beb2c3047f6
#robomerge[FN_ENGINEMERGE] DEV-NC

[CL 19371962 by Luke Thatcher in ue5-main branch]
2022-03-14 09:14:58 -04:00
chris gagnon
cb6fa7eca5 Made it so that yo can't interacte with the main frame until you choose a project.
The window is only closable if a project is open.

The goal here is to avoid situations where a user start modifying the empty level while not in a project.

#rb Matt.Kuhlenschmidt
#preflight https://horde.devtools.epicgames.com/job/622abbcfdf3960e506b8df9#b

#ROBOMERGE-AUTHOR: chris.gagnon
#ROBOMERGE-SOURCE: CL 19355372 via CL 19357276 via CL 19360244 via CL 19362489 via CL 19362585
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19365028 by chris gagnon in ue5-main branch]
2022-03-11 19:37:06 -05:00
aditya ravichandran
4745679368 Combo Boxes: Unify behavior across different types to only select on hitting enter. Fix bugs with keyboard navigation and add a visible highlight for the row that currently has keyboard focus
#jira UE-141200
#rb Daren.Cheng
#preflight 622b782a0a614dcb0cfcc012

[CL 19356303 by aditya ravichandran in ue5-main branch]
2022-03-11 11:47:34 -05:00
marc audy
2ee38e2ef9 Fix initialization order
#jira
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19281874 via CL 19295133 via CL 19299947 via CL 19300016
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19346728 by marc audy in ue5-main branch]
2022-03-10 20:44:18 -05:00
marc audy
615a78fbad Get 16 bytes back on FSlateBrush
[FYI] Rob.Millar
#jira
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19281834 via CL 19295115 via CL 19299935 via CL 19300009
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19346727 by marc audy in ue5-main branch]
2022-03-10 20:44:12 -05:00
patrick boutot
7dc630d6a5 Slate: Clear the DrawElementList when the render has finished with the elements.
#prefligh 6222030ba00412627d3c733e

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19265294 via CL 19271397 via CL 19278230 via CL 19293630
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19344972 by patrick boutot in ue5-main branch]
2022-03-10 19:35:40 -05:00