Commit Graph

26 Commits

Author SHA1 Message Date
julien stjean
c19fe82eb4 Fixed an issue where the contextual menu interpreted the relative file path of a source file an the display label instead of using the actual display label store with the source file.
#rb Alexis.Matte

[CL 26739466 by julien stjean in ue5-main branch]
2023-08-01 11:01:43 -04:00
julien stjean
3a24e47037 Fixed an issue with the api of the asset definitions. The GetSourceFiles function didn't allow to resolve the source file paths in a way that is independant of the asset implementation details.
Added the capacitity to the AssetImportData to resolve a source file name without a loaded package.

This also fixes the issues where the editor is not able to find the source file during a reimport or simply navigating to that file via the content browser.

#jira UE-180553
#rb Kerim.Borchaev

[CL 26609365 by julien stjean in ue5-main branch]
2023-07-26 11:46:14 -04:00
jordan hoffmann
cf8eb1d3c9 [Feature] AssetDefinition Merging
#jira UE-181566
#jira UE-181560
#rb ben.hoffman, dave.jones
#preflight 6439c1fec947f6523a79534d

[CL 25057796 by jordan hoffmann in ue5-main branch]
2023-04-14 21:26:21 -04:00
JeanMichel Dignard
38ef5daae8 Fixed truncation warnings in the ContentBrowser modules
#jira UE-166269
#rb yohann.dossantos
#preflight 63e12ffa797b029c0a6507fe

[CL 24032337 by JeanMichel Dignard in ue5-main branch]
2023-02-06 12:05:08 -05:00
yoan stamant
004d36425a Converted AI related Asset actions to AssetDefinitions (StateTree, BehaviorTree, Blackboard, EnvironmentQuery)
#rb mikko.mononen
#rb mieszko.zielinski
#preflight 63dd14211b44ee7cb16f4e46

[CL 24004167 by yoan stamant in ue5-main branch]
2023-02-03 20:52:46 -05:00
Max Chen
091d6464d2 Asset Definition: Added Media Category
#rb nick.darnell
#preflight 63dd3a404d25c400b7bb0143
#jira none

[CL 23992838 by Max Chen in ue5-main branch]
2023-02-03 12:22:34 -05:00
nick darnell
ffe1d002ff Asset Definition - Adding a conversion guide to the comments for Asset Definition.
[CL 23817409 by nick darnell in ue5-main branch]
2023-01-23 13:37:42 -05:00
nick darnell
f341533263 Adding another overload for creating an asset category.
[CL 23791510 by nick darnell in ue5-main branch]
2023-01-20 11:50:09 -05:00
nick darnell
58645cbc15 Editor Performance - Fixing a long standing issue with asset thumbnails, they've been loading the assets for a pretty long time now, because of the thumbnail editing mode. Note that thumbnail editing mode was not needed to be enabled and yet the asset would still load. This was a cause for a lot of hitches in the Content Browser.
AssetDefinition - Working on the asset definitions for blueprints/class types, iterating on the Merge API.  Bringing over more of the blueprint features into its asset definition, unregistered the Blueprint AssetType Actions.

Asset Filters - We now support categories per filter, this enables a single asset definition to correctly specify multiple filters.  For example, blueprints actually supply 4 filters, one for blueprints, but also blueprint interfaces, macros and function libraries.

[CL 23791489 by nick darnell in ue5-main branch]
2023-01-20 11:49:23 -05:00
nick darnell
7c56e6c4d1 AssetDefinition - Upgrading several skeletal and animation assets to be asset definitions. Had to upgrade a few utilities that were causing the assets to still load.
#jira UE-165574

[CL 23781708 by nick darnell in ue5-main branch]
2023-01-19 17:09:58 -05:00
nick darnell
ae774ca1eb AssetDefinition - Upgrading the Data/Curve tables to use the new AssetDefinition.
AssetDefinition - Changing how getting the SourceFiles works a bit, wanted it to be easier to just get the real data and not have to wrap it myself, and also to not need to needlessly put it into a container if it's not needed.

#jira UE-165574

[CL 23686064 by nick darnell in ue5-main branch]
2023-01-13 16:11:10 -05:00
nick darnell
ae98e0b4db AssetDefinition - Upgrading the asset type actions for Niagara so that we no longer need to load any of those asset types on right click. Needed to add VersioningEnabled to the NiagaraEmitter asset tag data. The current way the code is setup it will offer the option if there's no tag data yet, and if it turns out that version wasn't enabled for the emitter it will just skip the action and the next time you right click, since the asset will have been loaded the option will be grayed out. Future savings of the files will make the option grayed out from the start.
#jira UE-165574
[REVIEW] [at]Shaun.Kime

[CL 23667604 by nick darnell in ue5-main branch]
2023-01-12 14:42:57 -05:00
nick darnell
b81efdcf63 AssetDefinition - Upgrading several sound asset actions.
AssetDefinition - Fixing a regression where we needed to load assets on right click to check a 'can we create a blueprint from this asset' option.
AssetDefinition - Making the dynamic entries for GetAssetActions nameless so that they don't stomp eachother on accident.
AssetDefinition -

#jira UE-165574

[CL 23632575 by nick darnell in ue5-main branch]
2023-01-10 15:49:07 -05:00
nick darnell
752a16721c AssetDefinition - Upgrading several sound asset actions.
#jira UE-165574

[CL 23602458 by nick darnell in ue5-main branch]
2023-01-06 15:37:15 -05:00
nick darnell
fe9a530ecf AssetDefinition - LevelSequence has been upgraded and no longer loads on right click.
AssetDefinition - Upgraded ReverbEffect.

#jira UE-165574

[CL 23599473 by nick darnell in ue5-main branch]
2023-01-06 12:22:46 -05:00
nick darnell
cf14b0c01d AssetDefinition - Converting Chooser Table.
#jira UE-165574

[CL 23592564 by nick darnell in ue5-main branch]
2023-01-05 16:12:44 -05:00
nick darnell
2ca3053047 AssetDefinition - Upgrading another slew of AssetTypeActions.
[CL 23172516 by nick darnell in ue5-main branch]
2022-11-17 00:29:40 -05:00
nick darnell
1fb352a6df AssetDefinition - Converting AssetTypeActions_StaticMesh to an AssetDefinition. The StaticMesh didn't previously encode if it had a highres mesh into its asset tags, so now it does, however since that wont be on old meshes, I'm going to include the menu options if I can't tell if it does or does not.
[CL 23157684 by nick darnell in ue5-main branch]
2022-11-16 13:20:46 -05:00
nick darnell
5f8e573fc3 AssetDefinition - Converting AssetTypeActions_Curve...etc to an AssetDefinition.
[CL 23147988 by nick darnell in ue5-main branch]
2022-11-15 19:43:36 -05:00
nick darnell
6642a96a10 AssetDefinition - Converting AssetTypeActions_Struct to an AssetDefinition.
[CL 23147844 by nick darnell in ue5-main branch]
2022-11-15 19:40:38 -05:00
Michael Galetzka
5fef98ffbc Converted Niagara asset type actions to asset definitions
#jira none
#rb stu.mckenna
#preflight 6373dfc89e3bea807957569f

[CL 23142431 by Michael Galetzka in ue5-main branch]
2022-11-15 16:12:27 -05:00
nick darnell
9e765542af Editor - Fixing an ASan bug in the category paths, need to declare them statically so that the compiler doesn't free the list too early.
Editor - Upgrading the Texture AssetTypeActions to be AssetDefinitions.

#jira UE-169989
#jira UE-165574

[CL 23121796 by nick darnell in ue5-main branch]
2022-11-14 13:18:14 -05:00
nick darnell
e85b0cd48c AssetDefinition - This is the seed of a long term replacement of IAssetTypeActions. IAssetTypeActions is woefully inadiquit now. It puts a lot of functionality in one place, which wouldn't be a terrible thing, except for the GetActions, and some of the menu stuff being built into this class. We need to make an effort to not have to load every single asset just to open the context menu you have selected, to-wit, a previous CL made it so that summoning the menu no longer *Had* to load the assets, however several remaining issues remained with the Blueprint Utility Actions, and the fact that we don't "KNOW" if we need to call GetActions for an asset. We could introduce a replacement in the class, but that would just get inherited, causing other issues. So instead the parallel UObject based AssetDefinition now exists. In large part it will probably be very similar to the other one, but several things in it probably need to chnage. For now there is a bridging concept in the form of the AssetDefinitionAssetTypeProxy.
Several amounts of effort went into the newer design of UAssetDefinition to make it easier to change over time, more things are structs now for input and output so additional parameters can be added.

AssetDefinition module is an editor module instead of being a developer module.
AssetDefinition does not include a myraid of things it shouldn't such as the blueprint module and UnrealEd.

#jira UE-165574
#preflight 636c0ec4d0174259cca85e37

[CL 23083536 by nick darnell in ue5-main branch]
2022-11-10 13:13:41 -05:00
bob tellez
635e0d776e [Backout] - CL23068129 and 23069638
[FYI] Nick.Darnell
Original CL Desc
-----------------------------------------------------------------
AssetDefinition - This is the seed of a long term replacement of IAssetTypeActions.  IAssetTypeActions is woefully inadiquit now.  It puts a lot of functionality in one place, which wouldn't be a terrible thing, except for the GetActions, and some of the menu stuff being built into this class.  We need to make an effort to not have to load every single asset just to open the context menu you have selected, to-wit, a previous CL made it so that summoning the menu no longer *Had* to load the assets, however several remaining issues remained with the Blueprint Utility Actions, and the fact that we don't "KNOW" if we need to call GetActions for an asset.  We could introduce a replacement in the class, but that would just get inherited, causing other issues.  So instead the parallel UObject based AssetDefinition now exists.  In large part it will probably be very similar to the other one, but several things in it probably need to chnage.  For now there is a bridging concept in the form of the AssetDefinitionAssetTypeProxy.

Several amounts of effort went into the newer design of UAssetDefinition to make it easier to change over time, more things are structs now for input and output so additional parameters can be added.

AssetDefinition module is an editor module instead of being a developer module.
AssetDefinition does not include a myraid of things it shouldn't such as the blueprint module and UnrealEd.

#jira UE-165574
#preflight 636c0ec4d0174259cca85e37

[CL 23072024 by bob tellez in ue5-main branch]
2022-11-10 01:18:44 -05:00
nick darnell
0e899086d6 AssetDefinition - Doing some additional tweaking to the base asset definition type, and shifting some stuff around, fixing some unity build issues...etc. *mop* *mop* *mop*
#jira UE-165574

[CL 23072005 by nick darnell in ue5-main branch]
2022-11-10 01:17:52 -05:00