Commit Graph

80 Commits

Author SHA1 Message Date
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
jamie dale
78c3b736ff Fixed sub-categories being left visible if all their child nodes had been hidden
#jira
#preflight 623ce69e33709ff50127f1ed
#rb Sebastian.Nordgren
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19504027 via CL 19505114 via CL 19505727 via CL 19505784
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19514634 by jamie dale in ue5-main branch]
2022-03-25 12:35:41 -04:00
jeanfrancois dube
86437b50f4 World Partition
- Edigrate 19149766 from Main: wp by default with disabled streaming to mimic classic level streaming with data layers as a bonus.
- Revert part of 18994482: removed option to force load everything in the editor.
- Warn the user when the world is large enough to justify enabling streaming.

#rb richard.malo
#preflight 623c57bdbe1e4104d37b6dd5
#rnx

#ROBOMERGE-OWNER: jeanfrancois.dube
#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 19494492 via CL 19495530 via CL 19501961 via CL 19501993
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19503573 by jeanfrancois dube in ue5-main branch]
2022-03-24 18:01:12 -04:00
sebastian nordgren
b2dd11e5ae Fixed issues while searching details panels (most notably Project Settings) introduced by change 19171653.
Fixed crash when accessing and invalid PropertyEditor in FDetailPropertyRow.

Fixed performance issue caused by calling GetWidgetRow() on FDetailPropertyRow for every row, which caused the row's widgets to be constructed again when filtering.

Added GetCustomResetToDefault() to IDetailLayoutRow, which allows us to bypass the performance penalty of creating the WidgetRow by directly accessing the FResetToDefaultOverride of the row.

#jira UE-144131
#rb paul.chipchase
#preflight 621de59f037be0078cecb0e4
#preflight 621df0563e14f0c7e5276836

[CL 19196340 by sebastian nordgren in ue5-main branch]
2022-03-01 05:20:41 -05:00
sebastian nordgren
03c8e7c243 Details view's IsPropertyReadOnly delegate is now evaluated every frame instead of only when refreshing the tree, similar to how IsPropertyVisible now works.
IsPropertyReadOnly and IsPropertyVisible removed from update args, because they were only evaluated in conjunction with a full refresh.

#review @michael.noland
#preflight 621cf1bf6e5ae46efd48a323

[CL 19174367 by sebastian nordgren in ue5-main branch]
2022-02-28 11:11:53 -05:00
sebastian nordgren
85b68fa164 Show Only Modified will now also take into account the visibility of a custom reset to default provided to FDetailWidgetRow::OverrideResetToDefault().
#jira UE-142439
#review-19050410 @daren.cheng
#preflight 621ca1396e5ae46efd3c7ae6

[CL 19171653 by sebastian nordgren in ue5-main branch]
2022-02-28 05:32:19 -05:00
sebastian nordgren
fbe733e5f5 Subcategory nodes now hide themselves if no children are visible. This was most evident with eg. EditInstanceOnly metadata set for a property while editing the CDO - the property would be hidden, but the subcategory would still be visible.
#jira UE-112640
[REVIEW] [at]lauren.barnes
#preflight 61f2b191304c93e2cba43cda

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18753805 in //UE5/Release-5.0/... via CL 18753814 via CL 18756962
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18757283 by sebastian nordgren in ue5-main branch]
2022-01-27 14:10:26 -05:00
frank fella
93da4f3c70 Property Editor - Update the IDetailTreeNode to expose initial expansion information which can be set through customizations so that uses of the property row generator can access that data consistently.
#rb lauren.barnes

#ROBOMERGE-AUTHOR: frank.fella
#ROBOMERGE-SOURCE: CL 18423580 in //UE5/Release-5.0/... via CL 18423606
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18423632 by frank fella in ue5-release-engine-test branch]
2021-12-09 15:12:40 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
sebastian nordgren
5b669b5b87 Moved SDetailCategoryTableRow into its own file instead of hiding in DetailCategoryGroupNode.
#rb paul.chipchase
#preflight 6135cb4a4f2c7c0001e65bf4

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17437158 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17437174 by sebastian nordgren in ue5-release-engine-test branch]
2021-09-06 05:48:26 -04:00
sebastian nordgren
427c03f8cb The IsEnabled() attribute of FDetailPropertyRows and FDetailWidgetRows is now correctly used.
#jira UE-118847
#rb lauren.barnes
#preflight 6130a707f09c6e00015db076

#ROBOMERGE-SOURCE: CL 17403168 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17403204 by sebastian nordgren in ue5-release-engine-test branch]
2021-09-02 10:42:32 -04:00
sebastian nordgren
394e3fcc62 Added FDetailsViewConfig to store various details view settings, using the new EditorConfig system.
Renamed FDetailFilter properties to be consistent with one another.

#review-16449481 @lauren.barnes

[CL 16468647 by sebastian nordgren in ue5-main branch]
2021-05-26 09:46:13 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
UnrealBot
8afb476248 Branch snapshot for CL 16260158
[CL 16260158 in ue5-release-engine-staging branch]
2021-10-05 20:06:24 +00:00
sebastian nordgren
d315282ff8 Resubmitting IsPropertyVisible and IsCustomRowVisible (originally submitted in 16122954) with additional changes to ensure FPropertyAndParent cannot contain a null pointer inside an FProperty&.
#rb paul.chipchase
#jira UE-96790

[CL 16183986 by sebastian nordgren in ue5-main branch]
2021-05-03 10:38:37 -04:00
sebastian nordgren
584a143f23 Reverting changes in CL 16122954 due to crash in Frosty.
#rb trivial

[CL 16128301 by sebastian nordgren in ue5-main branch]
2021-04-27 11:38:59 -04:00
sebastian nordgren
fceff9d65e The SDetailsViewBase::IsPropertyVisible and IsCustomRowVisible delegates are now applied correctly. IsCustomRowVisible is now used for all things that are not properties.
This fixes the bugs of CategoriesToShow and PropertiesToShow not being respected in UMG details views.

#jira UE-96790
#review-16115377 @lauren.barnes
#preflight 6086e9eb3938bf0001ea30e6

[CL 16122954 by sebastian nordgren in ue5-main branch]
2021-04-27 06:44:36 -04:00
sebastian nordgren
b76e5da50c Missed change.
[CL 16073462 by sebastian nordgren in ue5-main branch]
2021-04-21 10:41:55 -04:00
sebastian nordgren
039605ce82 Renamed bShowOnlyDiffering to bShowOnlyWhitelisted - that it's only used for diffing is a detail that the details view shouldn't know about.
#rb paul.chipchase

[CL 16073432 by sebastian nordgren in ue5-main branch]
2021-04-21 10:40:13 -04:00
Patrick Boutot
383815f480 Slate: Convert SWidget's Enabled and Visibility flag to SlateAttribute.
#jira UE-106515, UE-112897
#rb vincent.gauthier
#preflight 606f3fcd97c8220001315871
#preflight 60749a870adbfb0001f0455c

[CL 15982898 by Patrick Boutot in ue5-main branch]
2021-04-12 16:13:38 -04:00
Lauren Barnes
80415ea0f3 Fix for custom builders with no children being collapsed
#jira UE-112031
#rb Nick.Darnell
#fyi Sebastian.Nordgren

[CL 15815163 by Lauren Barnes in ue5-main branch]
2021-03-24 22:21:40 -04:00
sebastian nordgren
a7739c5df1 Added SetIsCustomRowReadOnlyDelegate to enable customizing the read-only state of custom rows en-masse.
Removed SetIsCustomRowVisibilityFilteredDelegate, because it was unused and needlessly complex since the delegate that you pass into SetIsCustomRowVisibleDelegate can run the same logic and early out.

Category and property filtering through Properties To Show and Categories to Show now works properly.The problem was that visiblity was only considered once on creation and then never again.

#jira UE-88178
#review-15797106 @lauren.barnes
#preflight 605b2381c77fb000015e6a30

[CL 15797104 by sebastian nordgren in ue5-main branch]
2021-03-24 08:16:16 -04:00
sebastian nordgren
7326eca802 FDetailItemNode now also checks if the IsEnabled attribute IsSet() and not just IsBound() in GenerateStandaloneWidget().
[at]lauren.barnes

#ROBOMERGE-SOURCE: CL 15406946 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15406955 by sebastian nordgren in ue5-main branch]
2021-02-15 11:16:07 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00