Commit Graph

245 Commits

Author SHA1 Message Date
alexis matte
5e57ee7dff Interchange fix a dead lock if we chain blueprint or python import with the FImportAssetParameters::OnImportDone delegate.
#jira UE-203818
#rb JeanLuc.Corenthin
#rnx

[CL 31908134 by alexis matte in ue5-main branch]
2024-02-29 10:23:57 -05:00
alexis matte
094f9605c1 Interchange: Verify the interchange manager pointer in the GC callback
#jira UE-202713
#rb JeanLuc.Corenthin
#rnx

[CL 31873908 by alexis matte in ue5-main branch]
2024-02-28 11:54:30 -05:00
charles bloom
60c1e005ab nop comments only about slow hash functions being texture import bottlenecks
[CL 31803982 by charles bloom in ue5-main branch]
2024-02-26 10:31:16 -05:00
balazs toereki
e6cc5ad5e2 [Interchange] Skeleton creation added for SkeletalMesh re-import without a Skeleton present.
#jira UE-206899
#rnx
#rb Alexis.Matte, JeanLuc.Corenthin

[CL 31717377 by balazs toereki in ue5-main branch]
2024-02-22 07:25:52 -05:00
balazs toereki
9ef797c7fe [glTF] Imported animation seems broken fixes. MultiRoot fixes, Skeletal and Skeleton not as CommonRoot use cases.
#jira UE-206494
#rnx
#rb Alexis.Matte

[CL 31698483 by balazs toereki in ue5-main branch]
2024-02-21 16:54:21 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
jeanluc corenthin
86572613df Fixed reimport of actors
- Root cause: New actor naming done in the actor factory instead of the level pipeline
    - Solution: Translators must provide uniqueasset  names for actor factory nodes. Otherwise, reimport could fail
    - Caveat: Not all translator can do that unless the translated format does enforce uniqueness accross versions, one way or the other. GLTF does not :-(

 - Removed unnecessary argument to FAsset::GenerateNames
 - Modified GLTF translator to use new GLTF node's unique ids as asset names for actors.Misc: Added Tech Writer's corrections too
 - Modified Datasmith translator to use Datasmith uniques names as asset names for actors.
 - Modified FBX parser to use unique ids as asset names for actors
 - Modified generic level pipeline to transfer asset names from translated nodes to actor factory nodes
 - Modified FTaskCreateSceneObjects::DoTask to use factory node's asset name as object name
 - Changed default behavior forDatasmith and generic  level pipelines: now similar to Datasmith behavior
 - Side fixe: eliminate a useless ensure when opening the import dialog for a reimport while no pipeline has a conflict.

#jira UE-203669
#rb benoit.deschenes
#rnx

#virtualized

[CL 31586005 by jeanluc corenthin in ue5-main branch]
2024-02-16 18:32:46 -05:00
jeanluc corenthin
8c497e5900 Fixed issue when reimporting twice a file after an object has an edited attribute
#rb Alexis.Matte
#rnx
[FYI] benoit.deschenes

[CL 31447089 by jeanluc corenthin in ue5-main branch]
2024-02-13 16:39:06 -05:00
jeanluc corenthin
0d0ed7785e Clean up typos and phrasing in Interchange modules - contribution from Robb Surridge
#jira UE-198041
#rb jeanluc.corenthin
[FYI] robb.surridge
#rnx

[CL 31344316 by jeanluc corenthin in ue5-main branch]
2024-02-09 12:11:56 -05:00
alexis matte
7ff253d7ab Interchange: Fix skeletal mesh reimport: custom LODs, Alternate skin profiles and Cloth binding are now re-importing properly.
- Also fix the legacy alternate skinning if there is custom LODs in the asset. The alternate skin profiles are not lost anymore

#jira UE-205049 , UE-204958 , FORT-705238
#rb JeanLuc.Corenthin
#rnx

[CL 31335966 by alexis matte in ue5-main branch]
2024-02-09 07:59:04 -05:00
jeanluc corenthin
f48e5d1a67 Added missing change from CL 31192191
#jira UE-204277
#rb jeanluc.corenthin

[CL 31256663 by jeanluc corenthin in ue5-main branch]
2024-02-07 09:49:25 -05:00
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