Commit Graph

964 Commits

Author SHA1 Message Date
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
sebastian nordgren
1324d9dd3d Subcategory nodes are no longer always visible in editor utility widgets with categories filtered out.
#rb paul.chipchase

[CL 16275950 by sebastian nordgren in ue5-main branch]
2021-05-11 13:53:32 -04:00
Lauren Barnes
39f1923ed0 Deprecating .Icon() as a slate attribute on SDockTab. By default, tab icons fall back to using the one for the tab spawner's menu item. SetTabIcon can be used in the edge cases where an icon needs to be set that doesn't match the default. Updating all found cases of .Icon() usage on SDockTab.
#jira UETOOL-3429
#preflight 60996a2bdd2e00000126ff25
#rb Matt.Kuhlenschmidt

[CL 16251489 by Lauren Barnes in ue5-main branch]
2021-05-10 14:19:15 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
sebastian nordgren
97e8b5bf25 FDetailLayoutBuidlerImpl::IsPropertyVisible had the wrong default, which was causing properties in subcategories to be hidden under all circumstances.
#jira UE-114840
#rb paul.chipchase

[CL 16191712 by sebastian nordgren in ue5-main branch]
2021-05-04 05:52:32 -04:00
sebastian nordgren
3503111230 Added missing TEXT() macro.
[CL 16184003 by sebastian nordgren in ue5-main branch]
2021-05-03 10:41:25 -04: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
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
geoff evans
2ef2da232c Remove outdated/incorrect comment about when EnsureDataIsValid should be called.
#jira none
#rb trivial

[CL 16150354 by geoff evans in ue5-main branch]
2021-04-28 18:45:58 -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
julien lheureux
fe35eccaac Improved behavior of detail item node when the parent category is either invalid or there is a derived class
#rb sebastian.nordgren

[CL 16095652 by julien lheureux in ue5-main branch]
2021-04-22 13:56:36 -04:00
sebastian nordgren
1ff159b929 Custom builders that have a property handle associated with them now can use that as a key to store their favorite status.
#review-16091744 @lauren.barnes
#preflight 608191af590e4a0001f8c4f9

[CL 16094206 by sebastian nordgren in ue5-main branch]
2021-04-22 12:03:01 -04:00
sebastian nordgren
1aa985e2ea Fixed crash when unfavoriting favorited custom builder rows from the Favorites category.
Custom builders now store the original path they were added from. This crash happened because the favorited custom builder row was resolving to "Favorites.BuilderName", rather than the "Category.BuilderName" that was stored. They were still unfavoriteable from the original location.

#jira UE-112962
#review-16074796 @lauren.barnes
#preflight 608144471bee350001a158c3

[CL 16091496 by sebastian nordgren in ue5-main branch]
2021-04-22 06:19:39 -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
Martin Sevigny
fc222e63e0 Allow FNames to be initialized with a string that starts with an underscores from the editor.
https://p4-swarm.epicgames.net/reviews/15934265

#rb MattK
#jira none

#ushell-cherrypick of 15934265 by swarm

#ushell-cherrypick of 16060267 by Martin.Sevigny

[CL 16063439 by Martin Sevigny in ue5-main branch]
2021-04-20 13:33:00 -04:00
sebastian nordgren
ca7a047932 Edit conditions for properties that don't support edit condition toggles no longer checkSlow when retrieving the check state, but rather only when setting it.
CustomEditConditionValueChanged handlers are now postfixed with a call to FPropertyNode::InvalidateCachedState(), which causes the IsEditConst state to refresh.

Removed unnecessary code to access the PropertyEditor->IsEditConditionMet(), which is stored in EditConditionValue now.

#review @lauren.barnes, @patric.boutot
#jira FROST-1702

[CL 16008018 by sebastian nordgren in ue5-main branch]
2021-04-14 13:15:46 -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
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
sebastian nordgren
5481d0556f Restored highlighting for changed properties in the diff view.
#jira UE-109354
#review-15953443 @lauren.barnes

[CL 15955270 by sebastian nordgren in ue5-main branch]
2021-04-08 10:53:45 -04:00
sebastian nordgren
34128594db Restored Create Asset options to the static mesh's Materials section.
The culprit was the new NoCreate metadata, which was evaluating to true if no property was given - which is the case with the material list.

#review @lauren.barnes, @roey.borsteinas
#jira UE-110313

[CL 15930245 by sebastian nordgren in ue5-main branch]
2021-04-06 10:31:16 -04:00
sebastian nordgren
594a347d48 SPropertyEditorAsset now requests additional width based on the number of additional buttons it has (if it doesn't have a thumbnail).
#jira UETOOL-2815
#rb lauren.barnes

#ROBOMERGE-SOURCE: CL 15889436 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15890450 by sebastian nordgren in ue5-main branch]
2021-04-01 12:15:43 -04:00
sebastian nordgren
11848f724d SPropertyEditorAsset now checks for null when setting an actor. This is likely more fallout from the ill-fated UInterface-as-actor PR.
#jira UE-108061
#rb paul.chipchase

[CL 15887904 by sebastian nordgren in ue5-main branch]
2021-04-01 08:31:01 -04:00
sebastian nordgren
67e26c20fa SDetailsView now listens to the FEditorDelegates::PostUndoRedo event and invalidates any cached state on its property nodes. This causes the Reset to Default buttons to refresh.
#jira UE-63606

[CL 15887898 by sebastian nordgren in ue5-main branch]
2021-04-01 08:30:16 -04:00