Commit Graph

820 Commits

Author SHA1 Message Date
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
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
jeanfrancois dube da95707995 World Partition: move data layer and hlod layer asset into the world category.
#rb richard.malo
[FYI] jeansebastien.guay

[CL 27797977 by jeanfrancois dube in ue5-main branch]
2023-09-12 13:14:25 -04:00
alexis matte 7c978de0e6 Make sure all options from the import system are supported properly.
#jira UE-193922
#rb jeanluc.corenthin
#rnx

[CL 27524703 by alexis matte in ue5-main branch]
2023-08-31 11:39:42 -04:00
devon penney aac53a4096 Support asset creation of child asset classes when factory is defined for super class
#rb Julien.StJean

[CL 27285198 by devon penney in ue5-main branch]
2023-08-22 16:32:55 -04:00
patrick enfedaque 0967478909 Migrate dialog: Migration of a map is all or nothing. Hide __ExternalActors__ / __ExternalObjects__ from dialog when migrating OFPA maps.
#rb jeanfrancois.dube
#rnx

[CL 27199211 by patrick enfedaque in ue5-main branch]
2023-08-18 07:50:59 -04:00
julien stjean 2a0e0ff7da Removing the deprecated functions for the class permission list from the asset tools api.
#rb rex.hill

[CL 26809677 by julien stjean in ue5-main branch]
2023-08-03 10:14:35 -04:00
francis hurteau 0a395d69e1 Truncation warnings fixes for AssetTools
#rb Devin.Doucette
#jira UE-166274

[CL 26759447 by francis hurteau in ue5-main branch]
2023-08-01 18:48:02 -04:00