Commit Graph

638 Commits

Author SHA1 Message Date
JeanMichel Dignard
84a5c670e1 Provide an API for genuinely async imports using AssetImportTask
#jira UE-152773
#preflight 62fcf872200ff87e07792dac

[CL 21425045 by JeanMichel Dignard in ue5-main branch]
2022-08-17 10:43:04 -04:00
jason stasik
924bcaca0d Fix invalid enum forward declaration on linux by including .h instead
#rb none

#ROBOMERGE-OWNER: devin.doucette
#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 21401840 via CL 21404982 via CL 21404999 via CL 21405011
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21407190 by jason stasik in ue5-main branch]
2022-08-16 12:38:32 -04:00
jason stasik
54e2ea3049 Additional menu filtering for BP-based factories
#rb david.hibbitts,rex.hill
#preflight 62fabf17086f90bbc4069ec9

#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 21398192 via CL 21401380 via CL 21401443 via CL 21401480
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21406926 by jason stasik in ue5-main branch]
2022-08-16 12:29:41 -04:00
jeanfrancois dube
19ede0da9c Level Instance: implement edit asset functionnality (Ctrl+E).
#jira UE-153925
#rb patrick.enfedaque
#preflight 62f6d870ad3bd8ad6495766a
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 21386910 via CL 21389292 via CL 21389732
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21392467 by jeanfrancois dube in ue5-main branch]
2022-08-15 15:46:32 -04:00
jay nakai
2aa0133963 Adjustments to allow easier advanced copy customization
* SetPackageThatInitiatedCopy() is now called before any customization steps to fix issue with inconsistent values in PackageThatInitiatedCopy. Notably that PackageThatInitiatedCopy could be the name of the previous package initiator during some method calls if the same advanced copy customization was re-used during the editor lifetime
* Made UAdvancedCopyCustomization::GetARFilter() virtual so customization have an opportunity to define additional filtering

#rb Lauren.Barnes

#ROBOMERGE-AUTHOR: jay.nakai
#ROBOMERGE-SOURCE: CL 21293857 via CL 21293920 via CL 21293937
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21297704 by jay nakai in ue5-main branch]
2022-08-09 16:34:05 -04:00
JeanMichel Dignard
53cacbf75f Interchange
- Added cvars to turn on/off support for each file format. Everything is on by default for now.
- Syntax is: Interchange.FeatureFlags.Import.{file extension}
- Removed the "enable Interchange for Import into level" and "enable Interchange for textures only". The file formats cvars should be used instead.

#rb alexis.matte
#preflight 62daec11ac71f3a225b66daa

[CL 21226489 by JeanMichel Dignard in ue5-main branch]
2022-07-22 14:47:45 -04:00
justin hare
5c9a667a92 Removed accidental debug logging and no-longer-needed flags from asset renaming operation.
#rnx
#jira none
#preflight 62d992e5d76ea4b503cfa113

[CL 21204747 by justin hare in ue5-main branch]
2022-07-21 14:07:05 -04:00
justin hare
636d489405 Updated warning message when attempting to rename CDO-referenced assets, for brevity and clarity
#jira none
#rnx
#fyi rex.hill
#preflight none (trivial)

[CL 21204167 by justin hare in ue5-main branch]
2022-07-21 13:39:02 -04:00
jamie dale
1cac2e67c1 Fixed incorrect cook path length for plugins mounted from outside of the engine/project directory, and removed a bunch of temporary FString instances
#preflight 62d89ca4110da0f944819d32
#rb Jason.Stasik
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 21199916 via CL 21200683 via CL 21200747 via CL 21200772
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21202831 by jamie dale in ue5-main branch]
2022-07-21 12:27:36 -04:00
jeanmichel dignard
5ac05a9b97 Import high res mesh menu entry
- Added the ability to import, reimport and remove the high res source model.
- It'll import the FBX file as a new transient static mesh and then copy its LOD0 mesh description to the static mesh hires mesh description.

#rb alexis.matte
#preflight 62d6f255d76ea4b5032f44bc

#ROBOMERGE-AUTHOR: jeanmichel.dignard
#ROBOMERGE-SOURCE: CL 21167064 via CL 21172079 via CL 21172372
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21183820 by jeanmichel dignard in ue5-main branch]
2022-07-20 12:59:00 -04:00
aditya ravichandran
cfa2a293bb Add Material Layer Instances and Material Layer Blend Instances as filterable types.
#jira UE-149480
#rb lauren.barnes
#preflight 62d574ea47779a730a2140b9

[CL 21148883 by aditya ravichandran in ue5-main branch]
2022-07-18 11:09:47 -04:00
marc audy
0edc19c939 Duplicating assets should keep a perforce relationship to the original file
#rb Brooke.Hubert
#jira

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 21119014 via CL 21119416 via CL 21119491
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142516 by marc audy in ue5-main branch]
2022-07-17 22:46:56 -04:00
max chen
6450d4a229 Remove Matinee (1/2)
This change completely removes Matinee from the codebase. The data types and runtime evaluation code are gone. The "InterpEdit" editor mode, asset factories, and other editor support for Matinee is gone. CameraAnims and their sequencer tracks are gone. FBX import/export for Matinee assets is gone.

#preflight 62d0591e562520a394bca1d1
#preflight 62d194f63c3df323904679c1
#jira UE-105313
#rb none

#ROBOMERGE-OWNER: max.chen
#ROBOMERGE-AUTHOR: ludovic.chabant
#ROBOMERGE-SOURCE: CL 21116312 via CL 21116339 via CL 21118051
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142481 by max chen in ue5-main branch]
2022-07-17 22:45:06 -04:00
aditya ravichandran
ef0cf7de98 Remove the categories from the Asset Type Actions for Blueprint Generated Classes, so that it doesn't show up as a filter in the Content Browser/Reference Viewer
#rb Lauren.Barnes
#preflight 62c839a7f671e8d2facf69a8

#ROBOMERGE-OWNER: aditya.ravichandran
#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 21008574 via CL 21009217 via CL 21009495 via CL 21009608
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21023681 by aditya ravichandran in ue5-main branch]
2022-07-09 14:00:59 -04:00
JeanMichel Dignard
91b339bf3d Interchange support for UAssetImportTask
- Don't skip Interchange for APIs that expect immediate results, instead wait until Interchange async import is fully complete and add the results to the regular return path.
#preflight 62c88445b3789302b1f2714b

[CL 21012466 by JeanMichel Dignard in ue5-main branch]
2022-07-08 15:29:29 -04:00
scott nelson
80276fab1d Set Imported assets as Private when imported into UEFN
#rb Jason.Stasik
#preflight 62ba34fce7734830fa772ef0

#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 20843355 via CL 20843360 via CL 20843361 via CL 20843363
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20844555 by scott nelson in ue5-main branch]
2022-06-27 21:58:25 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
Matt Peters
803e794b36 AssetRegistryModule: Add TryGet function that can return null instead of asserting during Engine shutdown.
#jira UE-157056
#rb PJ.Kack
#rnx
#preflight 62b1d7fd827ccccb2cdec5a3

[CL 20758071 by Matt Peters in ue5-main branch]
2022-06-21 11:07:36 -04:00
jason stasik
2f70f25f8b Remove Create menu's "Blendables" category
#rb none
#preflight skip

#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 20562597 via CL 20562617 via CL 20562632 via CL 20564119 via CL 20564319
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20567314 by jason stasik in ue5-main branch]
2022-06-08 19:06:39 -04:00
benoit deschenes
9e1786b97b Fixing ImportAssetTasks() not properly adding imported asset tot the FAssetImportTask results.
#rb Alexis.Matte
#review Alexis.Matte
#preflight 62a0aea1232daff7b3e149e3

[CL 20556590 by benoit deschenes in ue5-main branch]
2022-06-08 10:46:26 -04:00
aditya ravichandran
a6ad8c6bdf IAssetTypeActions: Add a function to get the FTopLevelAssetPath
#rb julien.stjean
#preflight 629e44eb41542e8cf67b2049

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 20526581 via CL 20527738 via CL 20527856
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20529892 by aditya ravichandran in ue5-main branch]
2022-06-06 18:58:43 -04:00
robert manuszewski
f0e7ba910a Fixing up places that use FPathPermissionList with class paths. Added an optional EPathPermissionListType constructor param to catch places that pass short path names to FPathPermissionList when it's being used to store class path names
#rb Rex.Hill, Chris.Gagnon
#preflight 629a11d2474d2b43fca6b5c9

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20491615 via CL 20491621 via CL 20491633 via CL 20492092 via CL 20492224
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20495608 by robert manuszewski in ue5-main branch]
2022-06-03 19:15:26 -04:00
jason stasik
d238bcf377 Add global name filter across editor for asset paths
#rb dave.belanger
#preflight 6296ad96545b9a93abbddd73

#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 20454648 via CL 20454680 via CL 20454686 via CL 20454689
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v952-20449836)

[CL 20460837 by jason stasik in ue5-main branch]
2022-06-01 18:12:39 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00