- Refactor AssetViewUtils::LoadAssetsIfNeeded to take settings struct and return enum code.
- Allow cancelling when loading redirectors or when loading referencers.
- Use AssetViewUtils::LoadAssetsIfNeeded in asset view context menu a well as folder tree to unify progress/cancellation for both
[CL 32159723 by robert millar in ue5-main branch]
- AssetTools.cpp add a case to only copy the selected assets and ignore the dependencies (usecase for automation)
- Added BP example that implements the scripted asset action with the new migrationOption
#rb Julien.StJean, Takashi.Kuribayashi
[FYI] Michael.Lentine
#tests
[CL 31930249 by yafes sahin in ue5-main branch]
- Rename menu entries to Update (Redirector) Referencers
- No separate options for fixup vs fixup and keep
- After fixup, prompt user to delete redirectors if project settings allow
- After fixup, show users what files could not be checked out/saved and what redirectors remain
#rb brooke.hubert
[CL 31699181 by robert millar in ue5-main branch]
#rnx
[FYI] robert.millar
Original CL Desc
-----------------------------------------------------------------
Fix up redirectors flow update
- Rename menu entries to Update (Redirector) Referencers
- No separate options for fixup vs fixup and keep
- After fixup, prompt user to delete redirectors if project settings allow
- After fixup, show users what files could not be checked out/saved and what redirectors remain
#rb brooke.hubert
[CL 31696448 by alex kahn in ue5-main branch]
- Rename menu entries to Update (Redirector) Referencers
- No separate options for fixup vs fixup and keep
- After fixup, prompt user to delete redirectors if project settings allow
- After fixup, show users what files could not be checked out/saved and what redirectors remain
#rb brooke.hubert
[CL 31691912 by robert millar in ue5-main branch]
Also I moved the permissions logic closer to the code that actually handle the import.
#rb Alexis.Matte
[CL 31685813 by julien stjean in ue5-main branch]
Based on CL 30214572
Addeds Patching call to IAssetTools.
Consumes the call in a task in the DuplicatePluginCommandlet
#jira UE-199075
#rb Justin.Marcus
[CL 30595853 by andrew phillips 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] Jason.Stasik
Original CL Desc
-----------------------------------------------------------------
Create IAssetTools::IsAssetVisible and hook up material function menu to it
#rb dave.belanger,jason.nadro
[CL 27897936 by jason stasik in ue5-main branch]
* Moved workflow tracking of collection manipulations up one level to target user interaction only
* Added create/destroy collection workflows
* Remove hand-holding utilities aimed to ease verbosity of telemetry event generation
#rb wes.hunt
#jira UE-155132
#preflight 6463b34f063e77985c259c71
[CL 25492328 by logan buchy in ue5-main branch]
Showing the asset discovery dialog and preventing the plugin creation until the asset discovery is complete.
#rb Rex.Hill
#preflight 645008286538e45f75c38ccb
[CL 25292941 by will brown in ue5-main branch]
[CrashFix] Removed invalid check()
- when I made assets diffable against null I must've missed this. Easy fix.
#jira none
#preflight trivial
#rb dan.oconnor
#lockout julien.marchand
[CL 24186475 by jordan hoffmann in ue5-main branch]
In addition, I refactored AssetViewUtils::SyncPathsFromSourceControl somewhat.
- Added alternative (preferred) way to get affected files/packages using the FSyncPreview operation as opposed to querying the AssetRegistry.
- Added support for hot reloading the world if one of its external packages (actor/object) got synced so those changes are reflected in the viewport.
- Added support for passing in either content paths or absolute paths to sync.
- Deprecated the 'bIsSyncLatestOperation' parameter from SyncPackagesFromSourceControl.
Note that SyncPackagesFromSourceControl now has a single internal caller (FAssetSourceControlContextMenuState::ExecuteSCCSync).
Note that SyncPathsFromSourceControl now has a single internal caller (FSourceControlWindows::SyncLatest).
[REVIEW]
#preflight 63e3a014244dc45a201c918d
[CL 24074948 by wouter burgers in ue5-main branch]