Commit Graph

234 Commits

Author SHA1 Message Date
jeanluc corenthin
093653568d Fixed build issue
#issue 425381
#rb jeanluc.corenthin

[CL 31195907 by jeanluc corenthin in ue5-main branch]
2024-02-05 18:30:24 -05:00
jeanluc corenthin
9a1e16fdb8 Added source name to messages logged in MessageLog window
- Added AssetFriendlyName on UInterchangeResult to pass Actor's label which can differ from its name
  - Added GetMessageLogText method to UInterchangeResult to centralize message formatting
  - Updated UE::Interchange::InterchangeEditorModule::LogError to use new GetMessageLogText method
  - Added SourceData to FImportSceneObjectsParams to allow actor factories to log complete message for warning and errors
  - Updated FTaskCreateSceneObjects::DoTask to pass SourceData in its parameters
  - Modified UInterchangeActorFactory::ProcessActor signature accordingly
  - Added utility methods to UInterchangeActorFactory to log error or warning messages
  - Updated actor's factories according to signature change
  - Updated TaskCompletion to add actor's label to successful message

#jira UE-204277
#rb Alexis.Matte

[CL 31194987 by jeanluc corenthin in ue5-main branch]
2024-02-05 18:15:50 -05:00
jeanluc corenthin
1a38568642 Added logic to only disable FBX level import
#jira UE-205931
#rb Alexis.Matte

[FYI] flavien.picon

[CL 31187134 by jeanluc corenthin in ue5-main branch]
2024-02-05 15:28:45 -05:00
alexis matte
ffe9e4511a Interchange: Prevent re-import of legacy imported asset with interchange to create physics asset. fix crash if a translator in the project settings do not exist anymore.
#jira UE-204491
#rb JeanLuc.Corenthin
#rnx

[CL 30781289 by alexis matte in ue5-main branch]
2024-01-22 13:48:03 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
alexis matte
b3f152d453 Interchange: Beautify pipeline name in the import dialog
#jira UE-204163
#rb jeanluc.corenthin
#rnx


#virtualized

[CL 30719681 by alexis matte in ue5-main branch]
2024-01-19 12:36:33 -05:00
alexis matte
8b62bd7ae6 Interchange: Remove experimental class flag on python pipeline
#jira UE-204299
#rb jeanluc.corenthin
#rnx

[CL 30696350 by alexis matte in ue5-main branch]
2024-01-18 16:18:18 -05:00
alexis matte
f4480cd974 Interchange: fix scene re-import
#jira UE-203556
#rb jeanluc.corenthin
#rnx

[CL 30533659 by alexis matte in ue5-main branch]
2024-01-10 08:41:29 -05:00
alexis matte
54baa30408 Interchange: Prevent user if they are not using the UInterchangeManager singleton.
#jira UE-164923
#rb jeanluc.corenthin
#rnx

[CL 30504521 by alexis matte in ue5-main branch]
2024-01-09 10:19:55 -05:00
steve robb
55b3e27329 Replaced CONSTEXPR with constexpr.
[CL 30503197 by steve robb in ue5-main branch]
2024-01-09 08:46:46 -05:00
alexis matte
cb9368dda8 Interchange: Add translator settings system. Add force front x axis option to fbx translator
#jira UE-203300
#rnx
#rb jeanluc.corenthin

[CL 30444020 by alexis matte in ue5-main branch]
2023-12-22 15:35:12 -05:00
alexis matte
1d787b14f3 Interchange: Polish the project settings. Rename some settings to better/simpler name. Add a per translator show import dialog override to allow more control. We can now not show the import dialog for texture but show it for one particular texture translator like the jpeg. This will be useful if users need to do a translator that need to show the options even if the asset category is not showing the import dialog.
#jira UE-203289
#rb jeanluc.corenthin
#rnx

[CL 30441108 by alexis matte in ue5-main branch]
2023-12-22 11:23:28 -05:00
alexis matte
cd4668af78 Interchange: Fix an issue when a asset name is longer then 1023 character
#jira UE-200916
#rnx
#rb jeanluc.corenthin

[CL 30401974 by alexis matte in ue5-main branch]
2023-12-19 15:31:54 -05:00
alexis matte
bb7c4ab540 Interchange: Create "Advanced/Basic" pipeline visualization dialog options. This allow to easily have a simplified view of options when users are importing.
#jira UE-202798
#rb jeanluc.corenthin
#rnx



#virtualized

[CL 30380088 by alexis matte in ue5-main branch]
2023-12-18 13:36:38 -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
alexis matte
2db67db928 Interchange: Limit Node AssetName to 256 characters
#jira UE-200916
#rb JeanLuc.Corenthin
#rnx

[CL 30350217 by alexis matte in ue5-main branch]
2023-12-15 11:24:36 -05:00
alexis matte
233fe3bdd8 Interchange: Add "keep section separate" feature
#jira UE-201807 , UE-202406
#rb JeanLuc.Corenthin
#rnx

[CL 30349409 by alexis matte in ue5-main branch]
2023-12-15 10:53:20 -05:00
alexis matte
d0be4da94d Interchange: Allow to override an asset with a dialog message question.
#rb JeanLuc.Corenthin
#rnx

[CL 30298199 by alexis matte in ue5-main branch]
2023-12-13 13:32:27 -05:00
matt peters
64658cf6ae GetAssetRegistryTags deprecation: Make the old GetAssetRegistryTags and related functions deprecated.
Upgrade the overrides and callsites in all of Epic's code.
Every class that can be subclassed by licensees that has its override change needs to keep the old version of the function as deprecated. Otherwise subclasses that call Super::GetAssetRegistryTags will have a compile error instead of a deprecation warning.
Several classes had their own extension method for GetAssetRegistryTags being passed on to user data classes. Updated all of those to take FAssetRegistryTagsContext just like GetAssetRegistryTags does.
#rnx
#rb Francis.Hurteau

[CL 30224166 by matt peters in ue5-main branch]
2023-12-08 21:45:21 -05:00
alexis matte
af9ccc06da Interchange: Fix untagged memories
#jira UE-153302
#rb JeanLuc.Corenthin
#rnx

[CL 30156140 by alexis matte in ue5-main branch]
2023-12-06 10:45:30 -05:00
christopher waters
7b1717159f Dependency Cleanup
- Moving IAssetCompilingManager to its own header
- Changing FAsyncCompilationNotification members to TUniquePtr<FAsyncCompilationNotification> to remove dependencies on AsyncCompilationHelpers.h
- Removing includes of AsyncCompilationHelpers.h and AssetCompilingManager.h removes 3s of compile time per file on a 3990x

#rb henrik.karlsson

[CL 30094069 by christopher waters in ue5-main branch]
2023-12-04 16:06:02 -05:00
alex kahn
eee2dd4151 [Backout] - CL30051221 - CIS Compile Error
[FYI] christopher.waters
Original CL Desc
-----------------------------------------------------------------
Dependency Cleanup
- Moving IAssetCompilingManager to its own header
- Changing FAsyncCompilationNotification members to TUniquePtr<FAsyncCompilationNotification> to remove dependencies on AsyncCompilationHelpers.h
- Removing includes of AsyncCompilationHelpers.h and AssetCompilingManager.h removes 3s of compile time per file on a 3990x

#rb henrik.karlsson

[CL 30054260 by alex kahn in ue5-main branch]
2023-12-01 16:35:33 -05:00
christopher waters
f665a777c7 Dependency Cleanup
- Moving IAssetCompilingManager to its own header
- Changing FAsyncCompilationNotification members to TUniquePtr<FAsyncCompilationNotification> to remove dependencies on AsyncCompilationHelpers.h
- Removing includes of AsyncCompilationHelpers.h and AssetCompilingManager.h removes 3s of compile time per file on a 3990x

#rb henrik.karlsson

[CL 30051281 by christopher waters in ue5-main branch]
2023-12-01 15:32:12 -05:00
alexis matte
5005f43067 Interchange: Add the content base path to the ExecutePipeline API. We will need this data to be able to find existing material when we will implement the material workflow for asset import.
#jira UE-199573
#rb jeanluc.corenthin

[CL 29895499 by alexis matte in ue5-main branch]
2023-11-22 15:15:15 -05:00