Commit Graph

122 Commits

Author SHA1 Message Date
halfdan ingvarsson
bf45d06236 Content Browser: Allow dragging folders into favorites to add them.
#rb Julien.StJean

[CL 35330749 by halfdan ingvarsson in ue5-main branch]
2024-08-06 00:22:45 -04:00
george rolfe
d7d41b26cd [Content Browser] Style refresh preparation - local CB StyleSet and CVar toggle.
#rb aditya.ravichandran

[CL 34393816 by george rolfe in ue5-main branch]
2024-06-15 01:56:24 -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
db19c32ca0 Additional path view logging.
[CL 33384736 by robert millar in ue5-main branch]
2024-05-01 18:03:58 -04:00
patrick boutot
a2b5613488 Slate: Deprecate SListView::ItemHeight and STreeViewItemHeight. ItemHeight and ItemWidth are only used when the panel is is as a tile or both value are assigned. With TreeView and ListView, you can't assigned both. The function are protected, a subclass of those could but it's up to them to expose the ItemHeight and ItemWidth. This behavior changed was introduced with CL 7634094.
#jira UE-210415
#rb editor-ui-systems

[CL 33370360 by patrick boutot in ue5-main branch]
2024-05-01 08:05:39 -04:00
robert millar
d5b3c88c3b Add additional logging for path view.
Add console command PathView.Repopulate to force rebuild of path view.

[CL 33352565 by robert millar in ue5-main branch]
2024-04-30 16:49:32 -04:00
robert millar
ffbd45fda4 Fix selection of default path for SPathPicker
#jira UE-213444

[CL 33321568 by robert millar in ue5-main branch]
2024-04-30 01:22:41 -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
18bf44b3d8 Compile in verbose logging for content browser.
Add log for plugin filter activation/deactivation.

[CL 33305283 by robert millar in ue5-main branch]
2024-04-29 12:59:24 -04:00
robert millar
ef18d00084 Disable plugin path filters when trying to sync the content browser into a folder they hide
#rb aditya.ravichandran

[CL 33304586 by robert millar in ue5-main branch]
2024-04-29 12:38:21 -04:00
robert millar
539d31a3d6 Remove selected paths from non-per-workspace editor config.
[CL 33304048 by robert millar in ue5-main branch]
2024-04-29 12:28:45 -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
robert millar
4f09b9f494 Fix filtering out developer folders from favorites view without meaning to.
[CL 33016833 by robert millar in ue5-main branch]
2024-04-16 18:01:22 -04:00
robert millar
d62b07ef66 [Backout] - CL33008647
[FYI] robert.millar
Original CL Desc
-----------------------------------------------------------------
Fix filtering out developer folders from favorites view without meaning to.

[CL 33012756 by robert millar in ue5-main branch]
2024-04-16 16:14:22 -04:00
robert millar
27c8b3bf1b Fix filtering out developer folders from favorites view without meaning to.
[CL 33010231 by robert millar in ue5-main branch]
2024-04-16 15:07:35 -04:00
andrea botti
3487208558 [ContentBrowser] Impossible to save asset in Engine / Plugins / Developers folder in the asset picker dialog
#rb aditya.ravichandran
#jira UE-194988

[CL 32928091 by andrea botti in ue5-main branch]
2024-04-12 09:47:28 -04:00
robert millar
9ccdcbb1b9 Explicitly deselect renamed item when committing new name. Fixes broken context menu entry when creating a new folder called NewFolder.
[CL 32810896 by robert millar in ue5-main branch]
2024-04-08 19:16:38 -04:00
robert millar
2f7c33f941 Fixing bugs with favorites path view.
- Fix use of per-content browser settings in favorites view.
- Fix 'empty folder' filtering to work the same in initial population and incremental updates.
- Correctly populate visible root items after incremental updates when filter is inactive.

[CL 32799503 by robert millar in ue5-main branch]
2024-04-08 14:16:16 -04:00
robert millar
bacc0cc43c Reset pending initial paths on user-driven selections.
[CL 32736208 by robert millar in ue5-main branch]
2024-04-04 14:17:42 -04:00
robert millar
1f29e32b9b Only select exact path matches for favorites view.
Increment tree data version in Populate functions.

[CL 32735531 by robert millar in ue5-main branch]
2024-04-04 14:03:33 -04:00
robert millar
3e02198fda Fix copy of TSharedRef to TSharedPtr in loop variable
[CL 32701191 by robert millar in ue5-main branch]
2024-04-03 12:32:59 -04:00
robert millar
b0c6b87f52 Optimizing population and filtering of SPathView
- Decouple population from text filtering
- Factor out tree data from widget as a precursor to being able to bind data externally
- Search for parents to build from leaf to root rather than reverse

#rb aditya.ravichandran, Julien.StJean

[CL 32700859 by robert millar in ue5-main branch]
2024-04-03 12:22:14 -04:00
jamie dale
3193cf2f4e Fixed SPathView not matching localized folder names (from aliases)
#rb Rex.Hill
#rnx

[CL 32680283 by jamie dale in ue5-main branch]
2024-04-02 17:09:35 -04:00
julien stjean
fc14c70136 Addded a cpu trace scope to the function SPathView::HandleItemDataUpdated to track how much it contribute to the frame hitches in the editor traces.
[CL 32486792 by julien stjean in ue5-main branch]
2024-03-25 17:42:55 -04:00