These are tables that shouldn't appear in any pickers, and also allow editing the source string of a referencing FText to "auto break" the FText's link to the string table. This is intended to be used for string tables that are automatically generated and referenced by custom code.
[FYI] Leon.Huang
#rnx
[CL 34548734 by jamie dale in ue5-main branch]
* SAssetFilterBar doesn't clean up the registered delegate, leaving a stale this pointer
[FYI] rob.krajcarski
#rb ronald.koppers
#jira UE-215763
[CL 33899015 by logan buchy in ue5-main branch]
* Sync function was not taking into account unregistered AssetDefinitions - the fix is to iterate the AssetTypeActions also and find corresponding AssetDefinitions and remove if there is none.
* SAssetFilterBar caches AssetDefinitions - added a notification for when the AssetDefinitionRegistry changes. Put the broadcast on a one-shot ticker instead of directly calling as the Register/Unregister can occur frequently. Breaks up the callback depth.
* Added a "Version" to AssetDefinitionRegistry as clients were using the number of assets as a version. This can fall over if there is an Add and Remove between two calls to GetAllAssetDefinitions.
#jira UE-213686
#rb aditya.ravichandran, jered.mcferron
[CL 33704087 by logan buchy in ue5-main branch]
- Enabled via a project cvar, data formats are not guaranteed to remain backwards compatible
- This is WIP lots of UI work, curves, etc, to come
#rb rob.krajcarski
#jira UE-192636
[CL 30822363 by stu mckenna in ue5-main branch]
- Change text "+Track" to "+Add"
- Move current frame widgets to playback controls, remove orange text on the current frame, frame counter is now in the tooltip
- Move clear in the status bar to the far left so it's easier to hit when you hover over the status bar
- Status bar changes - visible on hover of the info button, fades away/hides automatically on unhover after 2 seconds
- Add status bar and current frame to the curve editor playback controls
#jira UE-200158
#jira UE-200160
#jira UE-197844
#jira UE-201190
#rb andrew.rodham
[CL 30130942 by max chen in ue5-main branch]
This is needed when upgrading localized text data in an editor-like environment via a BP, as any String -> Text conversion within a BP produces an invariant (unlocalizable) text
* Moved the implementation of IEditableTextProperty::StaticStableTextId to TextNamespaceUtil::GetTextIdForEdit.
* Added TextNamespaceUtil::EditTextProperty to safely edit a given text attribute to a given value.
* Added TextNamespaceUtil::GenerateDeterministicTextKey as a way to build deterministic text keys for a given object and property pair.
* Added UKismetTextLibrary::EditTextSourceString to expose the above to BPs in a way that can safely edit the source string of a text property.
[FYI] Leon.Huang
#rb alex.thomson
[CL 30090283 by jamie dale in ue5-main branch]
- Removed unused function
- Added 'FX' asset type category for Niagara purposes that maps to the FX asset category path for default expansion purposes
- Restored functionality for default filter category expansion. This code seemed abandoned. The category expansion could be specified in the asset picker config, but in the end was ignored and the Basic asset path was used instead. This uses a Convert function to go from AssetTypeCategory -> AssetCategoryPath. There is no 1:1 mapping, so it falls back to Basic if necessary. Changing the type in the asset picker config would be cleaner, but isn't straight forward due to FAssetCategoryPath needing to be exposed to all modules that include the content browser module
- Tweaked OnExtendAddFilterMenu delegate. It's now a global delegate, making it unnecessary to handle template shenanigans to access it.
AssetPickerConfig has a new option to provide this OnExtendAddFilterMenu externally. As the 'Common' category still shows up if we expand the FX category (since Niagara System is part of Basic & FX), we can use this to remove unwanted filters
The delegate is called on the dynamic menu section before the widget generation
- Added PinAllFrontendFilters argument. This is useful if you have a small amount of filters available so that you want to display them all by default
Big code cleanup:
- MakeAddFilterMenu is now marked as final to help with API consistency.
- Added new 'CreateAssetFilterBarContext` virtual function. This is now the unified way of configuring your menu.
- The context now contains the FOnFilterAssetType delegate, and the OnExtendAddFilterMenu delegate. This allows subclasses to keep their original functionality, while having a central place to tweak it
- Removed the old content browser context as it's no longer used
- Exposed the menu name. Kept old names consistent. This allows to reuse menus, or create new ones.
- Moved the right click context filter UI of the content browser into the SAssetFilterBar. Now all SAssetFilterBars can do this. Removed the OnGetContextMenu delegate that was only used in one place
- Removed various functions that are no longer needed
#rb rex.hill, aditya.ravichandran
#ushell-cherrypick of 28538117 by Mateo.Egey
[CL 28705843 by mateo egey in ue5-main branch]
[FYI] Lauren.Barnes
Original CL Desc
-----------------------------------------------------------------
Moving SinglePropertyView and DetailsView to EditorWidgets
#preflight 64417104e71b8e1b4e059e93
#rb Vincent.Gauthier, Aditya.RaviChandran
[CL 25139783 by nat parkinson in ue5-main branch]
Turned off by default.
By default, OnAllowDrop is called every frame, which is user bound. Setting "bUseAllowDropCache" to true will cache off AllowDrop the first time it is called.
The cache is cleared whenever a drag & drop operation starts.
#jira UE-176808
#rb Patrick.Boutot
#preflight 63eb8a3eb91ae11c1c33ebc0
[CL 24214083 by mateo egey in ue5-main branch]