27 Commits

Author SHA1 Message Date
jamie dale
64e0cef3af Added a display name for the virtual "All" root folder
[FYI] Rex.Hill
#rnx

[CL 34717143 by jamie dale in ue5-main branch]
2024-06-27 14:17:10 -04:00
andrea botti
9c1aa7d20b [ContentBrowser] When CTRL+C on an asset can we copy the Package Path instead of the Class Path
Added 2 new commmands to copy the ObjectPath and the PackageName.
Leaved the CTRL+C keybind mapped to the same behavior as before.
Added new commands to the keybind system so that users can re-bind them.
Cleaned up some hardcoded checks for keys in the OnKeyDown.

#rb aditya.ravichandran, sebastian.arleryd
#jira UE-155995

[CL 33684273 by andrea botti in ue5-main branch]
2024-05-16 08:31:50 -04:00
robert millar
6f0c83810a Allow content browser data subsystem to return data as callback or array, allowing pre-sizing of output array for large queries.
ContentBrowserAssetDataSource:
- Convert asset data to content browser item data in parallel for large batches of items.
- Query on-disk and in-memory assets in parallel.
Remove mutable fields from FContentBrowserItemData for thread safety.
Add FContentBrowserMinimalItemData as a comparison type for identifying FContentBrowserItemData, e.g. when removing from FContentBrowserItem.

#rb Julien.StJean

[CL 33315899 by robert millar in ue5-main branch]
2024-04-29 17:32:33 -04:00
robert millar
2f8a6dae96 [Backout] - CL33234860
[FYI] robert.millar
Original CL Desc
-----------------------------------------------------------------
Allow content browser data subsystem to return data as callback or array, allowing pre-sizing of output array for large queries.
ContentBrowserAssetDataSource:
- Convert asset data to content browser item data in parallel for large batches of items.
- Query on-disk and in-memory assets in parallel.
Remove mutable fields from FContentBrowserItemData for thread safety.
Add FContentBrowserMinimalItemData as a comparison type for identifying FContentBrowserItemData, e.g. when removing from FContentBrowserItem.

#rb Julien.StJean

[CL 33248759 by robert millar in ue5-main branch]
2024-04-25 17:58:23 -04:00
robert millar
b809fe8d49 Allow content browser data subsystem to return data as callback or array, allowing pre-sizing of output array for large queries.
ContentBrowserAssetDataSource:
- Convert asset data to content browser item data in parallel for large batches of items.
- Query on-disk and in-memory assets in parallel.
Remove mutable fields from FContentBrowserItemData for thread safety.
Add FContentBrowserMinimalItemData as a comparison type for identifying FContentBrowserItemData, e.g. when removing from FContentBrowserItem.

#rb Julien.StJean

[CL 33235863 by robert millar in ue5-main branch]
2024-04-25 12:53:25 -04:00
julien stjean
de89b3c6af Remove the need for a data refresh on the fist tick of the editor.
Deprecate the rest of the public api to request a full data refresh from the ContentBrowserDataSubsystem.

#jira UE-205033
#rb JeanLuc.Corenthin

[CL 32705343 by julien stjean in ue5-main branch]
2024-04-03 14:29:13 -04:00
robert millar
06db76b50a Make "Show Redirectors" and "Show Empty Folders" cooperate
- Move redirector filtering into backend
- Add a custom filter into SFilterBar to maintain old UI for redirector visibilty

[CL 32257795 by robert millar in ue5-main branch]
2024-03-14 16:17:37 -04:00
robert millar
6e9c591047 Special icon for virtual organizational folders in content browser.
- ContentBrowserUtils::ShouldShowCustomVirtualFolderIcon and cvar ContentBrowser.ShowCustomVirtualFolderIcon so it can be disabled in UEFN
- Attribute ContentBrowserItemAttributes::ItemIsCustomVirtualFolder for categorization
- Built-in folders like All, Game, Engine, Plugins are not marked with the above attribute
- Set ContentBrowser.ShowCustomVirtualFolderIcon to 0 when entering UEFN restricted mode

#rb Rex.Hill

[CL 31729647 by robert millar in ue5-main branch]
2024-02-22 14:13:17 -05:00
julien stjean
8787c97df0 Additional improvement for the filter compilations of the asset views.
Added a system to cache some data that can be used when recompiling the filters for the incremental data updates.
For now this only used by for the asset data source internal path compilation of the asset views.

In my test on a bad scenario this yielded a reduction 98% of the time it take to call UContentBrowserAssetDataSource::CreateAssetFilter when the cache is used.

Before the optimization the reference call took  26.3 ms
After the optimization the reference call took 0.3725 ms

Also this change fix an issue with my last change interacting badly with the alias data source by not using its customization of the package paths hierarchy.

#preflight 645a92f42d27fa25b3069003
#jira UE-183276
#rb Rex.Hill

[CL 25396753 by julien stjean in ue5-main branch]
2023-05-09 18:06:59 -04:00
jamie dale
b95e92ef3d Content Browser UX improvements for cooked content
* Plugins that only contain cooked content (and have no C++ modules) no longer show their "Content" suffix.
* Folders that only contain private cooked content are no longer visible in the asset or path views.

#preflight 642f2e3cb306e98c632f0195
#rb Jason.Stasik, Aditya.RaviChandran

[CL 24994922 by jamie dale in ue5-main branch]
2023-04-11 14:22:33 -04:00
julien stjean
55a1b3af29 Introducing the unsupported asset item for the content browser.
These are currently used to display the asset that are hidden by a backend class permission system.
They can also be restricted to some path only if desired.
Note: We will do a UX pass for the unsupported items after this is submitted and later we will also add some support for the unsupported asset to the alias data source.

#preflight 63dc23a7175a9839ac4cf474
#rb Jason.Stasik

[CL 24007061 by julien stjean in ue5-main branch]
2023-02-03 22:39:50 -05:00
jared cotton
db9180da10 Re-submission of 'view' method for AssetEditing (aware of merge issues that will arise in 23.00 and ready to resolve. Also ready with fix for issue that will arise when CL hits /Fortnite-Main in GLTFProxyAssetActions.h)
#rb Stanley.Hayes
#rb Jamie.Dale
#rb Jason.Stasik
#rb Yiliang.Siew
#preflight 635205e49e14ee3c7969c9bf

Iteration on Jason Stasiks CL 17314610. This is a minimal version of CL 17314610 which adds a 'view' method to AssetTypeActions which is now attempted whenever an activated item's 'edit' attempt fails.

The matching CL for the restricted FAssetTypeActions_VerseClass changes is 22472079.

[CL 22823595 by jared cotton in ue5-main branch]
2022-10-28 00:33:58 -04:00
bob tellez
3dec1bb8cb [Backout] - CL22782944
[FYI] jared.cotton
Original CL Desc
-----------------------------------------------------------------
Addition of 'view' method to AssetTypeActions

#rb Stanley.Hayes
#rb Jamie.Dale
#rb Jason.Stasik
#rb Yiliang.Siew
#preflight 635205e49e14ee3c7969c9bf

Iteration on Jason Stasiks CL 17314610. This is a minimal version of CL 17314610 which adds a 'view' method to AssetTypeActions which is now attempted whenever an activated item's 'edit' attempt fails.

The matching CL for the restricted FAssetTypeActions_VerseClass changes is 22472079.

[CL 22803476 by bob tellez in ue5-main branch]
2022-10-26 23:17:50 -04:00
jared cotton
a53b15247b Addition of 'view' method to AssetTypeActions
#rb Stanley.Hayes
#rb Jamie.Dale
#rb Jason.Stasik
#rb Yiliang.Siew
#preflight 635205e49e14ee3c7969c9bf

Iteration on Jason Stasiks CL 17314610. This is a minimal version of CL 17314610 which adds a 'view' method to AssetTypeActions which is now attempted whenever an activated item's 'edit' attempt fails.

The matching CL for the restricted FAssetTypeActions_VerseClass changes is 22472079.

[CL 22803451 by jared cotton in ue5-main branch]
2022-10-26 23:16:25 -04:00
robert millar
e6857190f2 Updating collection manager interface to use FSoftObjectPath for the paths of assets and objects rather than FName.
#jira UE-161932
#rb julien.stjean
#preflight https://horde.devtools.epicgames.com/job/6324e773f258fccf98de78cf

[CL 22064625 by robert millar in ue5-main branch]
2022-09-16 20:57:34 -04:00
robert millar
efb0994f7f Additional FName -> FSoftObjectPath deprecation fixups
#rb none
#jira UE-161932
#preflight 63235238c225e8be38077768

[CL 22039640 by robert millar in ue5-main branch]
2022-09-15 17:51:36 -04:00
robert millar
5516f8d0d4 FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for editor support classes for content browser code.

#jira UE-161932
#rb jason.stasik,jamie.dale
#preflight 631bd2a0d31788ea3ac03570

[CL 21935588 by robert millar in ue5-main branch]
2022-09-10 00:02:37 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
scott nelson
e8f45f5813 AssetPrivatizeModel and Dialogue
#rb Lauren.Barnes, Brooke.Hubert, Julien.StJean
#preflight 6303b55ca45b007ea246007d

[CL 21511558 by scott nelson in ue5-main branch]
2022-08-23 12:52:04 -04:00
jason stasik
ce3cf77a50 Allow actors to change which asset they Browse to
Allow browsing to aliases if source asset is not visible
Allow aliases in collections
#rb dave.belanger,jamie.dale
#preflight 62d0b1ad8e4b379590da3397

#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 21115320 via CL 21115363 via CL 21115394 via CL 21115412 via CL 21115431
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142427 by jason stasik in ue5-main branch]
2022-07-17 22:42:48 -04: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
daren cheng
45625f4109 Performance improvements to widget library.
Add callback for source data generation to asset views.
Add UObject enumeration to content browser API (By Rex Hill).
Intentionally reserve thumbnail pool sizes instead of flat 1024 reservation.

#jira UE-129795
#rb Rex.Hill
#preflight 615e0c51c5e9590001f4a22a
#preflight 615e4400f13022000126efda

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 17744889 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
#ROBOMERGE[bot1]: Main

[CL 17744914 by daren cheng in ue5-release-engine-test branch]
2021-10-06 21:35:45 -04:00
rex hill
091ded765f [ContentBrowser] Fix template shared paths not showing up in content browser
#jira UE-116013
#rb jason.stasik
#preflight 60a409fb13a1660001d55f3b

#ROBOMERGE-SOURCE: CL 16375103 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16375128 by rex hill in ue5-release-engine-test branch]
2021-05-18 16:20:34 -04:00
Marc Audy
f02d489290 Update Release-Engine-Test from Release-Engine-Staging @ 16264272
[CL 16264458 by Marc Audy in ue5-release-engine-test branch]
2021-05-11 01:10:20 -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