Commit Graph

17 Commits

Author SHA1 Message Date
nick darnell
91e94e2ddf Make Virtual Texture Convert/Deconvert menus work again.
[CL 23172519 by nick darnell in ue5-main branch]
2022-11-17 00:29:54 -05:00
nick darnell
9390ab7223 Fixing non unity for other vector field type.
[CL 23172518 by nick darnell in ue5-main branch]
2022-11-17 00:29:49 -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
4f2c821eeb Fixing non-unity build error.
[CL 23172515 by nick darnell in ue5-main branch]
2022-11-17 00:29:35 -05:00
nick darnell
a08cf16549 AssetDefinition - Converting another batch of AssetTypeActions to AssetDefinitions.
[CL 23164316 by nick darnell in ue5-main branch]
2022-11-16 17:42:29 -05:00
nick darnell
4d8dec6cc4 AssetDefinitionStaticMesh - Fixing a couple of menu differences, with copy LOD and add new LOD.
[CL 23157699 by nick darnell in ue5-main branch]
2022-11-16 13:21:17 -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
ff822375f6 Fixing linux build error.
[CL 23147994 by nick darnell in ue5-main branch]
2022-11-15 19:43:42 -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
nick darnell
f5364eb3d5 AssetTypeActions - Fixing a case where the "Basic" category needs special rules since it's not actually in the Advanced set. The new system doesn't do this, it just has categories.
#jira UE-165574

[CL 23123157 by nick darnell in ue5-main branch]
2022-11-14 14:15:43 -05:00
nick darnell
49f6e11801 Fixing non-unity error.
[CL 23121951 by nick darnell in ue5-main branch]
2022-11-14 13:23:48 -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
nick darnell
fd6f4a29b1 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
[REVIEW]

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