Commit Graph

827 Commits

Author SHA1 Message Date
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
andrew phillips
87499e5576 Added warning about packages that cannot be found when wanting to be copied.
[CL 30724980 by andrew phillips in ue5-main branch]
2024-01-19 14:55:11 -05:00
andrew phillips
0e3e68ca92 Fix for Headerpatching and Default__$name_C objects
#rb Francis.Hurteau, Dave.Belanger

[CL 30671435 by andrew phillips in ue5-main branch]
2024-01-17 17:32:38 -05:00
andrew phillips
bfca176283 Added scope timer to indicate use of header patching
[CL 30624622 by andrew phillips in ue5-main branch]
2024-01-15 17:02:48 -05:00
andrew phillips
9efd415bc4 Using header patcher instead of root asset package patcher
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]
2024-01-12 12:06:14 -05:00
dave belanger
d5bc7391ec Automatically make an asset public when moving it in another plugin if it's going to be referenced from another plugin after the move (including redirectors)
Don't move an asset if it cannot be made public or if it ends up referencing a private asset that's not being moved or if a dependent asset cannot be moved to a different plugin
Only enabled if AssetTools.EnablePublicAssetFeature cvar is set (which replaces ContentBrowser.PublicAsset.EnablePublicAssetFeature)
#rb Rex.Hill
#rnx

[CL 30595439 by dave belanger in ue5-main branch]
2024-01-12 11:54:15 -05:00
andrew phillips
6e403663de Fix for duplicate LOCTEXT ID
#jira UE-203815

[CL 30593190 by andrew phillips in ue5-main branch]
2024-01-12 10:24:44 -05:00
andrew phillips
6713b45484 Header patching.
Surfacing errors.
Removing many duplications of strings

#jira UE-0199079


#rb Francis.Hurteau

[CL 30565134 by andrew phillips in ue5-main branch]
2024-01-11 06:57:01 -05:00
sebastien lussier
b3475efc3d AssetViewUtils::MoveAssets - Fix issue whe external packages weren't moved
* When moving an asset that has external packages (such as a map), make sure to mark all the external packages as needing to be saved
#rb JeanFrancois.Dube
#jira UE-198460

[CL 30393177 by sebastien lussier in ue5-main branch]
2023-12-19 07:56:49 -05:00
jeanluc corenthin
a90d2d8067 Improve Interchange import performance
Took the opportunity:
- Renamed FTaskPipelinePostImport FTaskPostImport as it now includes the call to FinalizeObject_GameThread on factories
- Fixed issues when Interchange is used at runtime
- Only select InterchangeSceneImport asset in content browser when importing a scene

#jira UE-202783, UE-201353
#rb alexis.matte

[CL 30379715 by jeanluc corenthin in ue5-main branch]
2023-12-18 13:24:37 -05:00
alexis matte
9090295af7 Interchange: Add convert legacy fbx option to Interchange API.
#jira UE-202572
#rb jeanluc.corenthin
#rnx

[CL 30353714 by alexis matte in ue5-main branch]
2023-12-15 13:09:45 -05:00
jeanfrancois dube
b13fe07e71 World Partition Actor Descriptor Patching: it is now possible to patch actor descriptors without having to load/save them when migrating projects, through a custom archive that will write out exactly what's read, with support for patching names and soft object paths. This allow migrating projects without having to enable required plugins or load required classes, etc.
#jira UE-201639
#rb andrew.phillips, Sebastien.Lussier

[CL 30158172 by jeanfrancois dube in ue5-main branch]
2023-12-06 11:52:23 -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
andrew phillips
b497e0142e Fix for Header patching Actordefs
#jira Ue-201640
#rb Francis.Hurteau

[CL 30075059 by andrew phillips in ue5-main branch]
2023-12-04 06:05:10 -05:00
marco anastasi
4fc92d88f3 * Create 'Check in before syncing older snapshot' dialog
* Create Warning dialog for further rewind
* Implement 'Sync snapshot' functionality
* Implement 'Rewind to' functionality

#rb wouter.burgers

[CL 30015297 by marco anastasi in ue5-main branch]
2023-11-30 10:36:24 -05:00
ben zeigler
64c32b73fb Deprecate GetCurrentTag/InvalidateTag and remove all calls as the feature was unreliable and is no longer used by TSoftObjectPtr as of 5.3
#rb jodon.karlik, robert.millar
#jira UE-187216

[CL 29996164 by ben zeigler in ue5-main branch]
2023-11-29 14:47:34 -05:00
andrew phillips
2b238d50d2 Filtering package names through FName to make sain patching set for header patching
#rb Francis.Hurteau

[CL 29803551 by andrew phillips in ue5-main branch]
2023-11-17 04:35:57 -05:00
andrew phillips
37b1be6d1d Patching softpaths
#rb Francis.Hurteau


#ushell-cherrypick of 29364068 by andrew.phillips

[CL 29741678 by andrew phillips in ue5-main branch]
2023-11-15 04:52:12 -05:00
andrew phillips
ecd7677c49 Advanced copy using header patching as an option
Advanced copy, builds a list of depended assets, builds patching rules, and calls the AssetHeaderPatcher.
use `-ini:Engine:[ConsoleVariables]:AssetTools.UseHeaderPatchingAdvancedCopy=true` as cli option


#ushell-cherrypick of 28492015 by andrew.phillips

[CL 29144603 by andrew phillips in ue5-main branch]
2023-10-26 14:54:24 -04:00
mateo egey
cee00f7328 Multitude of small changes and fixes to content browser & asset picker.
- 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]
2023-10-12 07:03:37 -04:00
rex hill
d472419152 Fix ensure tripping due to letter case differences in drive letter
#rnx
[FYI] jamie.dale

[CL 28559987 by rex hill in ue5-main branch]
2023-10-06 17:53:47 -04:00
andrew phillips
22daac77a0 Asset Package Header Patcher.
This is infrastructure for Advanced copy to not need to deserialize an entire package in order to resave it in a new location.

#jira UE-189491

[CL 28534093 by andrew phillips in ue5-main branch]
2023-10-06 05:54:04 -04:00
rex hill
9e18ad1f4e Add more details to an ensure we are seeing
#jira
#rnx
#rb jamie.dale

[CL 28471726 by rex hill in ue5-main branch]
2023-10-04 15:59:20 -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