Commit Graph

905 Commits

Author SHA1 Message Date
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
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
julien stjean
67d9048ae5 Large perf improvement for the editor in a large project:
Reworked the ClassDataSource so that it doesn't require a full data refresh when a module is Loaded, Unloaded or Reloaded.
Deprecated the capacity for a ContentBrowser Data Source to request a full data refresh since this doesn't well scale on large projects.

Added a way to query a IReload for the classes that were reinstancited.

Fixed a bug in the FNativeClassHierarchy::GatherMatchingNodesForPaths function. It failed a getting a existing class node if a folder in its path had the same name has the class.

#jira UE-208789

#rb kevin.macaulayvacher

[CL 32212553 by julien stjean in ue5-main branch]
2024-03-13 10:24:34 -04:00
robert millar
7385ad9ece UX for updating redirectors
- 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]
2024-03-11 13:52:43 -04:00
brooke hubert
fdafbfcc4d [Path Picker] Fix an issue where path picker on initial notify would pass virtual paths, when the configuration was not set to support them
#Jira UE-205782
#rb Julien.StJean, ronald.koppers

[CL 32068417 by brooke hubert in ue5-main branch]
2024-03-06 16:55:26 -05:00
robert millar
d4143b59c7 Fix overriding Developer folder icon with virtual folder icon
[CL 32003939 by robert millar in ue5-main branch]
2024-03-04 18:01:19 -05:00
michael balzer
854296a8d5 ContentBrowser: Fix LOCTEXT conflict
#jira UE-208646
#fyi Julien.StJean

[CL 31978847 by michael balzer in ue5-main branch]
2024-03-02 20:40:09 -05:00
robert millar
67e866f99d Remove drop shadow from virtual folders until we have a matching one.
[CL 31961104 by robert millar in ue5-main branch]
2024-03-01 18:24:27 -05:00
julien stjean
727cc8e07e Added a filter to only show the assets that are not used by another asset.
Also removed some uneeded code and removed some unessary copy of a SharedPtr in the construction of the frontend filters.

#jira UE-208480
#rb JeanLuc.Corenthin

[CL 31911508 by julien stjean in ue5-main branch]
2024-02-29 11:46:24 -05:00
robert millar
7b0c5bfe99 Virtual and plugin folder icons for content browser
Fix code in asset view to only use large plugin folder icon for plugin roots.

[CL 31880015 by robert millar in ue5-main branch]
2024-02-28 14:41:25 -05:00
kerim borchaev
20fd20e533 [Scene Graph] Prevent creating Prefab blueprint with "Save As Prefab" dialog until valid path is selected once
- SPathPicker calls OnPathSelected in its Construct when path is valid(passes filters). This is controlled by a flag in FPathPickerConfig, off by default.

- SNewClassDialog disables Create button until OnPathSelected is called)

#jira UE-202592
#rb aditya.ravichandran, brooke.hubert

[CL 31833631 by kerim borchaev in ue5-main branch]
2024-02-27 02:30:24 -05:00
robert millar
08dcc63512 Icons in content browser for plugin root folders
- CVar ContentBrowser.ShowPluginFolderIcon to control visibility, disabled in UEFN restricted mode
- Child folders in plugins use normal icon to reduce visual noise

[CL 31731686 by robert millar in ue5-main branch]
2024-02-22 15:08:38 -05: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
robert millar
e38bed1ef6 Remove code for different icons in content browser for plugins.
[CL 31576905 by robert millar in ue5-main branch]
2024-02-16 15:15:20 -05:00
robert millar
5da74b3f3d Add additional default binding of Ctrl+L (matches Windows Explorer and web browsers) for editing current path in content browser.
[CL 31400515 by robert millar in ue5-main branch]
2024-02-12 16:59:50 -05:00
robert millar
c7ccf271c5 Fix construction of FLocationItem to explicitly use aggregate initialization
[CL 31357409 by robert millar in ue5-main branch]
2024-02-09 16:52:45 -05:00
robert millar
8b62ea7bda SNavigation bar control for content browser path navigation.
Combo box with history dropdown.
Conversion to edit text box by clicking in blank space or F4 key.
Auto-complete for suffixes of currently typed path.

#rb aditya.ravichandran

[CL 31356550 by robert millar in ue5-main branch]
2024-02-09 16:41:31 -05:00
aditya ravichandran
e97a64fff9 SAssetView: Change Content Browser column resize mode to fill so there is no cap on resizing columns
#jira UE-206404
#rb brooke.hubert

[CL 31349473 by aditya ravichandran in ue5-main branch]
2024-02-09 13:59:52 -05:00
robert millar
5c9146c4ce Plugin content folder icon for asset tile view.
[CL 31308255 by robert millar in ue5-main branch]
2024-02-08 17:34:03 -05:00
helge mathee
54c44dd8ed Control Rig: Updated Modular Rig Editor Layout
#rb sara.schvartzman
#jira UE-202792
#rnx

[CL 30960073 by helge mathee in ue5-main branch]
2024-01-28 14:46:08 -05:00
julien stjean
1bb367506f Fix the content browser loosing it path filter values each time it is opened.
#jira UE-204744
#rb JeanLuc.Corenthin

[CL 30950387 by julien stjean in ue5-main branch]
2024-01-26 19:13:56 -05:00
rex hill
31ddb7b1c4 Optimize collection manager by allowing batch remove
#rb logan.buchy

[CL 30926597 by rex hill in ue5-main branch]
2024-01-26 11:33:21 -05:00
rex hill
9170942ee7 Modify FCollectionAssetRegistryBridge to bind to OnAssetsRemoved to prepare for optimizations
[CL 30857587 by rex hill in ue5-main branch]
2024-01-24 14:55:11 -05:00
robert millar
a22b242ee6 Separate icons for plugin roots and plugin subfolders
[CL 30784914 by robert millar in ue5-main branch]
2024-01-22 16:02:50 -05:00
robert millar
0717037bdd Content browser folder copy updates.
Add copy path to context menu in path tree.
Change path copying for folders to use internal paths to more closely match how the same command copies internal path style references for assets.

[CL 30779729 by robert millar in ue5-main branch]
2024-01-22 13:14:23 -05:00