Commit Graph

64 Commits

Author SHA1 Message Date
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -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
120469e3b5 Slate: Rename "Collapsed" SlateAttribute to "AffectVisibility". It represent more the intention. If the parent is collapsed, the child SlateAttribute was not updated even if they were marked as "update when collapsed". Update the widget reflector to show the name of the SlateAttribute (only if the widget is live). Call GetRelativeLayoutScale after the attribute are updated.
#preflight 60801fe317b40800013076ce

[CL 16072465 by Patrick Boutot in ue5-main branch]
2021-04-21 09:41:28 -04:00
Patrick Boutot
120fa81941 Slate: Add an option to update the attributes and cache the invalidation for later. Update the visibility attribute before doing layout out of the regular SWidget paint path.
#jira UE-113307
#preflight 607993474af1c70001f7ae8e

[CL 16033397 by Patrick Boutot in ue5-main branch]
2021-04-16 10:07:05 -04:00
nick darnell
9a9e8d1310 Slate - Renaming TranslateMouseCoordinateFor3DChild to TranslateMouseCoordinateForCustomHitTestChild, it's a lot clearer what the function is actually for, and doesn't give the false impression that it's for something it's not, making it a little more broader a naming convention for future usage.
#rb Matt.Kuhlenschmidt

#ROBOMERGE-SOURCE: CL 13050736 via CL 13052125 via CL 13052154 via CL 13052198 via CL 13052239
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13052261 by nick darnell in Main branch]
2020-04-27 18:44:35 -04:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
nick darnell
4e19acf653 Culture - No longer need to create a hack to determine if cultures have are Left to Right or Right to Left, we now call the ICU function to determine it.
#rb Jamie.Dale


#ROBOMERGE-SOURCE: CL 10649436 via CL 10649569 via CL 10649590
#ROBOMERGE-BOT: (v609-10634694)

[CL 10649606 by nick darnell in Main branch]
2019-12-11 12:23:33 -05:00
vincent gauthier
b5e849f934 Adding a count to detect long WidgetPath that could lead to an out of memory exception.
#rb dave.belanger
#rnx


#ROBOMERGE-SOURCE: CL 10458376 via CL 10459349 via CL 10459414
#ROBOMERGE-BOT: (v595-10452236)

[CL 10459502 by vincent gauthier in Main branch]
2019-11-26 15:01:03 -05:00
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04:00
Dave Belanger
a782c099c3 Fix widget component navigation not working in Standalone; the deepest Window in the widget path is used as the boundary widget and for the hittest grid.
#rb Chris.Gagnon
#jira UE-76307

[CL 7476168 by Dave Belanger in Main branch]
2019-07-22 13:07:08 -04:00
matt kuhlenschmidt
c64ca632c7 Slate Global Invalidation System
This change makes it possible to remove the layout and painting overhead that Slate performs every frame.  The system is off by default as we continue to iterate on it.

However, this includes massive changes to batching, rendering, hit testing, and invalidation panels which are permanent changes and cannot be disabled.

#rb chris.gagnon, nick.darnell
[CODEREVIEW] nick.darnell


#ROBOMERGE-OWNER: matt.kuhlenschmidt
#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 7232617 via CL 7235502
#ROBOMERGE-BOT: (v367-6836689)

[CL 7235503 by matt kuhlenschmidt in Main branch]
2019-07-08 23:50:34 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Chris Gagnon
80918bea22 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5110714 by Chris Gagnon in Dev-Editor branch]
2019-02-21 13:05:30 -05:00
matt kuhlenschmidt
25be00b25f Slate: Fix non-axis aligned stencil clipping still being a problem
[CODEREVIEW] nick.darnell, chris.gagnon
#jira UE-69145



#ROBOMERGE-SOURCE: CL 4833877 via CL 4837874

[CL 4837984 by matt kuhlenschmidt in Main branch]
2019-01-30 03:24:56 -05:00
Chris Gagnon
a48e767b94 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4835066 by Chris Gagnon in Dev-Editor branch]
2019-01-29 16:15:19 -05:00
mic rooney
b83cc87613 Avoiding stencil clipping on widgets that are just barely not axis aligned.
#ROBOMERGE-SOURCE: CL 4820737 via CL 4820739 via CL 4820740 via CL 4820915

[CL 4820921 by mic rooney in Main branch]
2019-01-26 21:04:59 -05:00
Chris Gagnon
0dbe1f7fb2 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4766091 by Chris Gagnon in Dev-Editor branch]
2019-01-21 17:47:02 -05:00
Nick Darnell
49ea9b4c75 (Right to Left) Layout Support
Slate - Adding Left To Right | Right To Left support to the flow direction of widgets.  Widgets in both Slate and UMG can now specify a desired flow direction for their children widgets.  This will affect padding, and if we lay out from left to right, or right to left depending on th culture.  By default, widgets will just inherit the state of things, but some widgets may choose to enact the culture's preference in a localized area of the game, so there's no automatic flipping of all your game's UI.  Additionally SBorder and SImage, and their UMG counterparts now have a bFlipForRightToLeftFlowDirection.  Use this if you have images with directionality that you want flipped when the layout flips.

Progress bars now flip Left-Right filling, if inside a culuturally aware and right to left layout.

#rb Matt.Kuhlenschmidt
[CODEREVIEW] Matt.Kuhlenschmidt, Matt.Schembari


#ROBOMERGE-SOURCE: CL 4743892 via CL 4743894

[CL 4743925 by Nick Darnell in Main branch]
2019-01-17 12:26:57 -05:00
Chris Gagnon
1a3bf5caf1 Merging The Engine directory from //UE4/Dev-Main to //UE4/Dev-Editor upto CL 4698813
#rb none

[CL 4720826 by Chris Gagnon in Dev-Editor branch]
2019-01-14 16:55:55 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
projectgheist
196c7eeb61 PR #5241: Prevent popup from unexpectedly overlapping mouse position (Contributed by projectgheist)
#rb Chris.Gagnon

[CL 4544454 by Chris Gagnon in Dev-Editor branch]
2018-11-06 14:09:44 -05:00
Chris Gagnon
2922ab56af Previous and next now support wrap navigation rules, also Stop navigation now works properly.
#jira UE-65120
#rb Lauren.Ridge
#codereview Nick.Darnell

[CL 4500366 by Chris Gagnon in Dev-Editor branch]
2018-10-23 18:32:01 -04:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00