Commit Graph

810 Commits

Author SHA1 Message Date
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
jordan hoffmann
c2ca810ecc [CISFIX] botched merge was backed out in Dev-FN-26 but the backout got merged into FN-Main when it shouldn't have
returning files to their state in 26659901

[CL 26662683 by jordan hoffmann in ue5-main branch]
2023-07-27 20:40:52 -04:00
jordan hoffmann
2affb22e50 [Backout] - CL26660318
[FYI] jordan.hoffmann
Original CL Desc
-----------------------------------------------------------------
[Feature] made local assets editable in DataAsset diffs
[BugFix] invisible merge buttons were clickable in detail splitter when they shouldn't be
[BugFix] blueprint diffs weren't updating their detail panels when the objects are edited

[CL 26661731 by jordan hoffmann in ue5-main branch]
2023-07-27 19:47:06 -04:00
jordan hoffmann
2a5d313ca4 [Feature] made local assets editable in DataAsset diffs
[BugFix] invisible merge buttons were clickable in detail splitter when they shouldn't be
[BugFix] blueprint diffs weren't updating their detail panels when the objects are edited

[CL 26659931 by jordan hoffmann in ue5-main branch]
2023-07-27 18:40:07 -04:00
julien stjean
7d9e87d4a6 Added a missing meta data to tell the Blueprints that the AssetTools::MigratePackages function shouldn't be pure.
#rb none

[CL 26529748 by julien stjean in ue5-main branch]
2023-07-21 18:48:12 -04:00
wouter burgers
36325e01e6 SourceControl: Optimized SyncPackagesFromSourceControl and SyncPathsFromSourceControl for larger volumes.
The UEFN sync feature calls SyncLatestFromSourceControl, which calls SyncPathsFromSourceControl and could potentially sync a lot of items at once.
By batching the force-load and reset-linkers steps, this operation became significantly faster.

#rnx

[CL 26457416 by wouter burgers in ue5-main branch]
2023-07-19 08:20:24 -04:00
nick baltis
61b7cf81c7 Variable Frame Stripping
Swarm review [at] https://p4-swarm.epicgames.net/reviews/25771279
https://horde.devtools.epicgames.com/job/6480c6078417d79259d7b71c

Added functionality to strip at ratios higher 1 out of every 2. testing shows good savings at stripping 2/3 frames on NX64 and in editor of around 8mb with no noticeable visual degradation.

Works through the VariableFrameStripping object that is a member of the AnimSequence.

Fixed issue with valkyrie

[CL 25857620 by nick baltis in ue5-main branch]
2023-06-07 16:48:21 -04:00
hilda cruz
a43cbb3322 [Backout] - CL25804385 for a BH issue
#rnx
[FYI] nick.baltis
Original CL Desc
-----------------------------------------------------------------
Variable Frame Stripping
Swarm review [at] https://p4-swarm.epicgames.net/reviews/25771279

Added functionality to strip at ratios higher 1 out of every 2. testing shows good savings at stripping 2/3 frames on NX64 and in editor of around 8mb with no noticeable visual degradation.

Works through the VariableFrameStripping object that is a member of the AnimSequence.

Fixed issue with valkyrie

[CL 25809604 by hilda cruz in ue5-main branch]
2023-06-05 22:13:54 -04:00
nick baltis
a400eefa24 Variable Frame Stripping
Swarm review [at] https://p4-swarm.epicgames.net/reviews/25771279

Added functionality to strip at ratios higher 1 out of every 2. testing shows good savings at stripping 2/3 frames on NX64 and in editor of around 8mb with no noticeable visual degradation.

Works through the VariableFrameStripping object that is a member of the AnimSequence.

Fixed issue with valkyrie

[CL 25804411 by nick baltis in ue5-main branch]
2023-06-05 17:26:01 -04:00
rex hill
b60e183d4a [Content Browser] Fix Clear Thumbnail not working if asset not already loaded into memory.
#rb jamie.dale

[CL 25796920 by rex hill in ue5-main branch]
2023-06-05 13:25:01 -04:00
dave belanger
25e5977782 AssetTools.LogFolderPermissions command that logs the read and write folder permission lists
#rb Rex.Hill
#preflight 647a2ffa8417d79259b5c21d

[CL 25771781 by dave belanger in ue5-main branch]
2023-06-02 16:04:32 -04:00