This resutls in more stable face-material connection in SW export, fixing the "One variant color does not convert to UE" issue
Also,
- removed Parallel access to SW API - this slowed things down and interfered with debugging
- Code speed-up(due to Parallel fix) - x2
- added more diagnostics logging to simplify debugging of meshes and materials
#jira UE-206035
#rb JeanLuc.Corenthin
[CL 34152225 by kerim borchaev in ue5-main branch]
- replaced separate thread to check for material updates with iterative checkinbg in the main thread on idle
- this fixed random crashes due to race conditions
- slightly improved speed of registering material changes (e.g. from minute to under seconds for some real models)
#jira UE-177970
#preflight 641c1110ee0aed134706f644
#rb benoit.deschenes
[CL 24775286 by kerim borchaev in ue5-main branch]
- identical meshes exported as the same Datasmith static mesh
#jira UE-171372
#preflight 64018575c13b7130d2b1dce4
#rb benoit.deschenes
[CL 24523174 by kerim borchaev in ue5-main branch]
- repro: run SW, make Datasmith addin enabled, open a model and Sync it, then exit SW. Expected: Solidwokrs process exits(check in TaskManager as it can have its window destroyed but not process itself).
#jira none
#preflight 63ee26b77d2ec3d2fda510e6
#rb JeanLuc.Corenthin
[CL 24277710 by kerim borchaev in ue5-main branch]
- fixed export of materials that are not present in the active configuration when exporting configuration
#jira UE-165103
#preflight 63ebc094205b5ccbc7e8277d
#rb JeanLuc.Corenthin
[CL 24230430 by kerim borchaev in ue5-main branch]
- fixed case when change in material was detected when no material were present
- also fixed not detecting material modifications
#jira UE-172414
#preflight 63e1427a797b029c0a67798d
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard
[CL 24106191 by kerim borchaev in ue5-main branch]
- searching for actual RenderMaterial for each Body/Feature of the part using entity's Appearance(somewhat alternale api to RenderMaterial). In order to deal with api flow which doesn't return corrent entities assigned to a RenderMaterial in active configuration
#jira UE-135616
#preflight 63da9718dd02983776fa37e3
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard
[CL 23991071 by kerim borchaev in ue5-main branch]
- Fixed Sync/Export when plugin enabled manually(not on Startup)
- Fixed(temporary) plugin crashing after being re-enabled
- DirectLink source not staying alive anymore when closing last document or disabling the plugin
#jira UE-160288
#preflight 63d77378ba4fadeef0dbfc8e
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard
[CL 23929322 by kerim borchaev in ue5-main branch]
- added vast of material logging - it's a complicated in the api and currently in the code so should help with future debugging(and already helped)
- fixed another potential race condition that I've overlooked previously
#jira UE-171370
#preflight 63cffe0294644f3e8e28a4d3
#rb benoit.deschenes
[CL 23848150 by kerim borchaev in ue5-main branch]
- In ExportMesh left to threaded execution only construction of DatatasmithMesh from extracted data and ExportDatasmithMesh itself
- refactored use of Mesh names all over to make more clear distintion between Datasmith names and names built from SW component names
#jira none
#preflight 63c56f1d7763631ba1b7ca57
#rb benoit.deschenes
[CL 23740158 by kerim borchaev in ue5-main branch]