Commit Graph

1045 Commits

Author SHA1 Message Date
luke thatcher
01203093c6 Deprecate:
- FRHITexture2D
 - FRHITexture2DArray
 - FRHITexture3D
 - FRHITextureCube
 - FTexture2DRHIRef
 - FTexture2DArrayRHIRef
 - FTexture3DRHIRef
 - FTextureCubeRHIRef

Replaced with FRHITexture and FTextureRHIRef

These types were unified in UE 5.1 and have been defined via "using" statements to the same underlying texture type for several engine releases.

#rb christopher.waters

[CL 31724002 by luke thatcher in ue5-main branch]
2024-02-22 11:38:35 -05:00
steve robb
148d4c61d5 Deprecated TIsTriviallyDestructible.
#rb devin.doucette

[CL 31695997 by steve robb in ue5-main branch]
2024-02-21 15:55:03 -05:00
steve robb
f6dbc2efe2 Added RemoveAt*(Index, AllowShrinking) overloads to TObservableArray, TIndirectArray and FPreviewAssetAttachContainer to match TArray.
#rb robert.manuszewski

[CL 31623882 by steve robb in ue5-main branch]
2024-02-19 16:01:48 -05:00
jordan cristiano
e837f7542e Fixed FScopeCycleCounterSWidget not working in insights captures.
#rb evgenii.babinets, ionut.matasaru

[CL 31453349 by jordan cristiano in ue5-main branch]
2024-02-13 18:22:52 -05:00
jamie dale
c61859e22a Fix missing virtual destructor on ISlateBrushSource
#rb Derek.Truong
#rnx

[CL 31446143 by jamie dale in ue5-main branch]
2024-02-13 16:16:43 -05:00
mikko mononen
0c74f6c57c LayoutUtils: Change use of c++ concept to a template
#rb Mieszko.Zielinski

[CL 31417529 by mikko mononen in ue5-main branch]
2024-02-13 04:50:51 -05:00
mikko mononen
97baff6d1f Added layout new layout sizing rule SizeRule_StretchContent
- widgets size starts at desired size and is adjusted proportionally based in available space

#rb Patrick.Boutot, Vincent.Gauthier

[CL 31376889 by mikko mononen in ue5-main branch]
2024-02-12 03:37:58 -05:00
helge mathee
c2fe81f2fc Slate: move animated attribute from slatecore to slate
#rb sara.schvartzman
#jira UE-204843
#rnx

[CL 31286549 by helge mathee in ue5-main branch]
2024-02-08 05:59:30 -05:00
yohann dossantos
ad8c5d10f4 Font settings: hide monospace width when monospacing is disabled.
#tests Played with bForceMonospaced (aka Monospacing) bool (from text, common text, or rich text style in a datatable), MonospacedWidth visibility was updated accordingly.
#rb yohann.dossantos

[CL 31186922 by yohann dossantos in ue5-main branch]
2024-02-05 15:23:58 -05:00
zahra nikbakht
f844dece62 Font Face: add a setting in the UFontFace class to allow adjusting the height of the strike brush relative to the full height of the font
When calculating the strike brush position, make sure to get the height of font based on its layout method instead of using font metrics only.
#jira UE-204095
#rb yohann.dossantos

[CL 30972020 by zahra nikbakht in ue5-main branch]
2024-01-29 11:55:51 -05:00
benjamin rouveyrol
13dc328c1e Fix for HDR viewports not rendering properly when Slate.EnableGlobalInvalidation=1
When Slate.EnableGlobalInvalidation=1, we go through FSlateElementBatcher::AddCachedElements and do BatchData->AddCachedBatches(CachedElementData.GetCachedBatches());
HDR viewports actually need to choose between BatchDataHDR and BatchData based on whether we want to composite ui with the scene later on
Added a flag on the batchdraw flags to specify which batchdata the viewport should end up into.
Since the flag might change when toggling, we invalidate the window the viewport is associated with whenever we detect a viewport change in FSlateRHIRenderer::ConditionalResizeViewport
Add GetViewportDynamicRange on ISlateViewport to be able to distinguish SDR and HDR viewports: we can end up in a scenario where we have an HDR window because still have an SDR viewport, like the FMovieViewport
The assumption is that we only play SDR movies, the code will  have to be updated to support HDR movies

#jira UE-204214
#rb Patrick.Boutot

[CL 30964772 by benjamin rouveyrol in ue5-main branch]
2024-01-29 06:16:21 -05:00
DanteSSS333
e39adc216b PR #11213: [Slate] SBox: Force contents to be center-aligned, not left-aligned, when using Min/MaxAspectRatio
#jira UE-202475
#rb yohann.dossantos

[CL 30815811 by DanteSSS333 in ue5-main branch]
2024-01-23 15:30:07 -05:00
daren cheng
580b31182b Fix brush style not applying on EUW due to SVG leftover data.
#jira UE-190539
#rb yohann.dossantos

[CL 30763719 by daren cheng in ue5-main branch]
2024-01-21 22:48:11 -05:00
steve robb
f70478d4f0 Moved some bool-taking container wrappers over to using EAllowShrinking.
FGraphAStar::PopIndex() isn't passing on its argument to the container - that existing behavior has been retained.

#rb james.hopkin
[FYI] Yoan.StAmant

[CL 30712410 by steve robb in ue5-main branch]
2024-01-19 05:12:44 -05:00
viktor chlumsky
7b6edd78d0 MSDF fast placeholder generation and general performance (original CL 29402944)
#tests: Tested in Editor and PIE, with and without artificial delay in generate tasks

#rnx <Release Notes exclude>
#rb yohann.dossantos

[CL 30682105 by viktor chlumsky in ue5-main branch]
2024-01-18 08:42:00 -05:00
yohann dossantos
74ef7b9ae6 Text Overflow policy: added a new ellipsis mode, LineEllipsis, that avoid a possible issue occuring with multiline text and the Ellipsis mode.
With Ellipsis, all lines that are fully or partially visible will be displayed, the drawback of that being that if the "..." are displayed at the end of a line from which the lower part is clipped, the "..." are not visible.
With LineEllipsis, only lines that are fully visible vertically will be displayed. So if a line would be clipped at its lower part, the whole line will be culled, and the "..." will be displayed at the end of the last fully visible line, preventing the case where the "..." might not be seen.

#jira UE-195323
#tests Added new tests in the FontOverflow functionnal test from EngineTest. Visually checked in UnrealEditor that there were no regressions.
#rb Patrick.Boutot

#virtualized

[CL 30665613 by yohann dossantos in ue5-main branch]
2024-01-17 14:48:42 -05:00
rcowsill
b4c821342d PR #10524: Slate: Fix aliased glyph quad edges
To avoid aliasing on quad edges (for non SDF font only), the glyph quads are now drawn slighty bigger, with a larger UV area (by taking advantage of the padding, if there is any).
The rendered result will look exactly the same most of the time, but as soon as a scale or a non axis aligned rotation will be applyed to the render transform of the text, it will look a lot smoother on the edges.
By default, texts that are scaled up/down may now looks a bit different due to pixel rounding + different size of the quad.
Scrolling texts (without pixel snapping) move more smoothly.

Tweaked functionnal tests used for font to detect smaller local changes that got ignored otherwise, while they were important in the context of font. Maximum local error is now 0.5%.
#jira UE-188444

#tests Ran engine test font functionnal test and updated them. Compared the editor with and without the change. Compared scrolling text (pixel snapping disabled) with and without the change. Tolerance for local change is now
#rb Patrick.Boutot

#virtualized

[CL 30632576 by rcowsill in ue5-main branch]
2024-01-16 09:34:36 -05:00
helge mathee
1272250af8 SchematicGraph: Implement auto grouping nodes
#rb sara.schvartzman
#jira UE-202789
#rnx

[CL 30629951 by helge mathee in ue5-main branch]
2024-01-16 04:24:06 -05:00
marco anastasi
0922d218c0 Fix for "icons for asset change states aren't displaying" in Snapshot History tab
[REVIEW] [at]wouter.burgers, [at]manuel.lang
#rb Manuel.Lang
[FYI] wouter.burgers, manuel.lang

#localization none
#tests ran local build and preflight
#preferred_allowlister alex.kahn

[CL 30600518 by marco anastasi in ue5-main branch]
2024-01-12 14:34:43 -05:00
steve robb
7da84c1d1b Replaced UE_NODISCARD with [[nodiscard]].
[CL 30593744 by steve robb in ue5-main branch]
2024-01-12 10:47:04 -05:00
helge mathee
818db2e63f Control Rig: introduce the notion of links to the schematic
#rb sara.schvartzman
#jira UE-202790
#rnx

[CL 30438480 by helge mathee in ue5-main branch]
2023-12-22 04:31:43 -05:00
projectgheist
e989c0a698 PR #11218: UE-191987: FAtlasedTextureSlot from VectorGraphicsCache are not stored in AtlasDebugData
#jira UE-202479, UE-191987
#rb patrick.boutot

[CL 30436228 by projectgheist in ue5-main branch]
2023-12-21 19:55:46 -05:00
daren cheng
c76ddc6ef0 Fix Slate Insights not working due to untracked widget names on Trace Start / Stop.
#jira UE-199606
#rb ionut.matasaru, Patrick.Boutot

[CL 30420180 by daren cheng in ue5-main branch]
2023-12-20 15:38:18 -05:00
DoubleDeez
e46cb0e810 PR #10934: Fix RoundedBox SlateBrushes defaulting with an outline radius of (0, 0, 0, 1)
#jira UE-196862
#rb daren.cheng

[CL 30400509 by DoubleDeez in ue5-main branch]
2023-12-19 14:45:26 -05:00
helge mathee
fce83bdfa2 Control Rig: Refactor schematic view
#rb sara.schvartzman
#jira UE-173816
#rnx

[CL 30264435 by helge mathee in ue5-main branch]
2023-12-12 11:01:19 -05:00