Commit Graph

85 Commits

Author SHA1 Message Date
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
robert millar
afb65887a1 Optimizing path permission list checks in ContentBrowserAssetDataSource by optimizing the checks themselves and skipping checks for child paths where possible.
Store paths in permission lists in TDirectoryTree so that checks scale with path depth rather than number of paths.
Add PassesStartsWithFilterRecursive which can return whether a Fail/Pass result for a particular path can be followed by a Pass/Fail result for a child path. (e.g. a path is allowed and there are no explicit denials for any children of that path)
Deprecate GetDenyList and GetAllowList.
Add unit tests for FPathPermissionList.

#rb Julien.StJean, Rex.Hill

[CL 32868537 by robert millar in ue5-main branch]
2024-04-10 19:34:36 -04:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
dave belanger
5fb2a47448 Replace IContentBrowserSingleton::CanChangeAssetPublicState by IAssetTools::CanAssetBePublic
#rb scott.nelson
#rnx

[CL 30090129 by dave belanger in ue5-main branch]
2023-12-04 14:13:00 -05:00
logan buchy
9f7bf3ca24 Enable PrimaryContentBrowser to be specified for use with IContentBrowserSingleton
* Exposed ability for test to set the Primary content browser so that setting changes performed imperatively will pertain to the test-created content browser that was spawned.
* This supports creation of automated editor workflow tests that use test-created content browser.  IContentBrowserSingleton is the interface the tests have to manipulate the CB settings.

#rb julien.stjean, ronald.koppers
#jira UE-195070

[CL 29577868 by logan buchy in ue5-main branch]
2023-11-08 17:59:09 -05:00
jeanfrancois dube
93acd48119 Reference Viewer: added option to browse to owning asset when browsing to external assets.
#rb vincent.beauchemin

[CL 29086265 by jeanfrancois dube in ue5-main branch]
2023-10-25 09:20:18 -04:00
jeremie roy
c0b155ae5c Add a parent window override parameter to asset dialog config
For context, this is needed for programs that can create asset dialogs without having a mainframe present.

#rb geoffrey.douglas, jason.walter
#jira UE-195057

[CL 28720232 by jeremie roy in ue5-main branch]
2023-10-12 14:25:11 -04:00
sebastian arleryd
c06093d475 Extend Workspace Menus With Stable Section Names
Note: Workspace Menus is the name of the menu hierarchy created by tab spawners.

The intent here is to give stable section and sub-menu names to the main menu hierarchy created by tab spawners to allow anyone to extend said hierarchy using UToolMenus.

* Add a NameAttribute to FWorkspaceItem which is NAME_None by default. Allow NameAttribute to be set through constructors and the NewGroup and AddGroup methods. Add an FWorkspaceItem::GetFName method for fetching NameAttribute.
* Set the NameAttribute of FWorkspaceItems created for tab spawners using their TabType.
* When adding tab spawners to the main menus, set the FName identifier as appropriate on sections and sub-menus with the value returned by FWorkspaceItem::GetFName.
* Set the NameAttribute on a lot of workspace groups to make use of this new functionality.

#jira UE-186967
[REVIEW] [at]editor-ux [at]editor-framework
#rb brooke.hubert

[CL 28416011 by sebastian arleryd in ue5-main branch]
2023-10-03 11:34:10 -04:00
logan buchy
5f7177ddab Fix crash dereferencing an invalid content browser
* Conditional needs to check for validity before deref
* Follow up with improving the readability of this conditional/

#rb Jean-Michel.Dignard
#jira UE-196591

[CL 28236281 by logan buchy in ue5-main branch]
2023-09-26 13:26:58 -04:00
jason stasik
59abe9e7a2 Create IAssetTools::IsAssetVisible and hook up material function menu to it
#rb dave.belanger,jason.nadro

[CL 27933398 by jason stasik in ue5-main branch]
2023-09-15 16:55:30 -04:00
jason stasik
44b79721ba [Backout] - CL27896400
[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]
2023-09-14 18:02:00 -04:00
jason stasik
4dbe81a3cb Create IAssetTools::IsAssetVisible and hook up material function menu to it
#rb dave.belanger,jason.nadro

[CL 27896467 by jason stasik in ue5-main branch]
2023-09-14 17:29:16 -04:00
sebastian nordgren
9d078fe971 Added IContentBrowserSingleton::Register/UnregisterOnFavoritesChangedHandler() which is fired when the favorites changed.
#review-23389580 @lauren.barnes
#preflight 638dfa2cbb6fefa4724b7a67

[CL 23426973 by sebastian nordgren in ue5-main branch]
2022-12-07 07:07:39 -05:00
dave belanger
e11f56ceb2 IContentBrowserSingleton delegate to control whether the public/private state can be changed on a given asset
#rb Scott.Nelson
#preflight 635899e4555771b141aab074

[CL 22803463 by dave belanger in ue5-main branch]
2022-10-26 23:17:13 -04:00
nick darnell
954d29b9f5 Editor - Beginning the process to no longer make loading all assets you right click in the content browser. The first step, is setting up the code to have a deprecation flag DEPRECATE_ASSET_TYPE_ACTIONS_NEEDING_LOADED_OBJECTS, this will make it illegal to implement GetActions on all AssetTypeAction implementations. Checked in disabled, enable it locally to begin trying to implement the recommended method detailed in the IAssetTypeActions header. WIP. One of the things this change does is outlaw (regardless of deprecation) the HasActions() function, this function is no longer used at all, and so we may as well remove its implementation, it also works well as a canary in finding other samples and things that need to be upgraded.
#jira UE-165574
[REVIEW] [at]Rex.Hill, [at]Lauren.Barnes
#preflight 63483c43ad0f7e2f20e44910

[CL 22534452 by nick darnell in ue5-main branch]
2022-10-14 16:59:41 -04:00
jeanmichel dignard
21c6dc19d1 Fixed crash when display loading errors for OFPA packages
- When getting a load error during the project selection screen, the content drawer doesn't exist so don't try to open it.
- Don't try to search for assets inside map data packages or packages flagged as not containing assets.
- Removed a CastChecked that would fail for packages that we can't load.
- Changed OnGotoAsset so that it doesn't load any assets and uses FAssetData instead.

#jira UE-164688
#rb francis.hurteau, lauren.barnes
#preflight 632cbb76d747fe52c86d8965

[CL 22148390 by jeanmichel dignard in ue5-main branch]
2022-09-22 19:01:21 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
sebastian nordgren
2af3f1eb9d Typing a character while the asset picker menu is open will now focus the search box if it is not already focused, such as if you've dragged the scrollbar.
#review-21440564 @ lauren.barnes
#jira UE-158283
#preflight 63049778a45b007ea26af9b7

[CL 21503667 by sebastian nordgren in ue5-main branch]
2022-08-23 05:12:57 -04:00
scott nelson
2bacfef2b4 Fix issue where ContentBrowserDrawer is not marked as the primary content browser when selected in ChooseNewPrimaryBrowser
#rb Rex.Hill
#preflight 629ffa956a65c1f49f39e41e

#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 20559968 via CL 20559996 via CL 20560031 via CL 20561397 via CL 20561550
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20565265 by scott nelson in ue5-main branch]
2022-06-08 17:47:20 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
scott nelson
d66e31243a Setup delegate to dirty cache of Private Content Folder List when it's edited
#preflight 6243218873665f7d5e31ce98
#rb Rex.Hill

#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 19544776 via CL 19545477 via CL 19545511 via CL 19545538
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19547100 by scott nelson in ue5-main branch]
2022-03-29 15:08:58 -04:00
aditya ravichandran
54b09af1e6 Content Browser: Unlock a Browser on closing its tab, and add a toast for when all browsers are locked and the user tries to summon one
#jira UE-143981
#rb lauren.barnes
#preflight 622125734e07145cce56d399

[CL 19252415 by aditya ravichandran in ue5-main branch]
2022-03-03 15:44:38 -05:00
rex hill
fece0f140f Phase 2 Public Assets
- Added ability to toggle Private Content Edit mode at Folder level in Content Browser
- You cannot edit an asset's Private/Public state unless it's within a Private Content Editable folder
- Private Assets do not show up unless their within a Private Content Editable folder

#preflight 621fbc63e15c51d8c509559d
#rb Rex.Hill

#ROBOMERGE-OWNER: rex.hill
#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 19226371 via CL 19235626 via CL 19238850 via CL 19238931 via CL 19245779
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19247024 by rex hill in ue5-main branch]
2022-03-03 13:14:11 -05:00
aditya ravichandran
3df03cfc05 Content Browser: Added functionality to summon other Content Browsers by right clicking on the tab
#rb lauren.barnes
#preflight 62193918783beeaf8a0d8e4b

[CL 19155132 by aditya ravichandran in ue5-main branch]
2022-02-25 15:32:07 -05: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