Commit Graph

33 Commits

Author SHA1 Message Date
christopher waters
6a4206d490 Removing bad Launch include paths from programs.
[CL 24328631 by christopher waters in ue5-main branch]
2023-02-20 17:39:13 -05:00
David Lesage
cbdbbcaded #jira UE-171548
Set verbose level of messages in FCADFileData
This allows to set the verbose level of non critical message to "Log" instead of "Warning"
#rb jeanluc.corenthin
#preflight 63b5362a8c5081ee9aff569f

[CL 23573586 by David Lesage in ue5-main branch]
2023-01-04 03:24:20 -05:00
david lesage
971520e9a9 CAD conversion operation crashes with "out of memory":
One problem is a (undefined) memory leak in the CAD conversion process.
The workaround to fix it, is to restart CADWorker as soon as the leak is too important.
A first implementation is done is 5.1.1 withour header modification: the state ETaskState::Unknown is used to inform that the worker need to be restart.

#jira UE-168831
#rb jeanluc.corenthin
#preflight 637f874edf0c31526849ef73
#lockdown jeanmichel.dignard

[CL 23267335 by david lesage in ue5-main branch]
2022-11-25 12:00:30 -05:00
Devin Doucette
2bda528abc Fixed missing calls to FEngineLoop::AppExit
Skipping AppExit can cause crashes on exit because systems are destroyed in the wrong order.

#jira UE-170063
#preflight none
#rb Brandon.Schaefer
#rnx

[CL 23139565 by Devin Doucette in ue5-main branch]
2022-11-15 13:46:14 -05:00
david lesage
4c17331d84 [CADKernel] Improve topological welding:
- to try to fix large crack, a second step could be perform with a larger tolerance
- to prevent the meshing failure of thin surface,  and consequently the presence of a crack in the mesh, thin surface can be removed and replaced by a topological weld.
3 new CVar are added to drive this new process:
- ds.CADTranslator.Stitching.ForceSew
- ds.CADTranslator.Stitching.ForceFactor
- ds.CADTranslator.Stitching.RemoveThinFaces

Fix crashes, fix HD leak, fix RAM usage

#jira UE-154019, UE-157085
#rb jeanluc.corenthin
#preflight 6356cd17f92c325024f48f6e
#lockdown jeanmichel.dignard

#preflight 635a9bb00b08a07d8a4310d7

[CL 22810471 by david lesage in ue5-main branch]
2022-10-27 11:07:42 -04:00
aurel cordonnier
8ed670cea0 [Backout] - CL22695017
[FYI] David.Lesage
Original CL Desc
-----------------------------------------------------------------
[CADKernel] Improve topological welding:
- to try to fix large crack, a second step could be perform with a larger tolerance
- to prevent the meshing failure of thin surface,  and consequently the presence of a crack in the mesh, thin surface can be removed and replaced by a topological weld.
3 new CVar are added to drive this new process:
- ds.CADTranslator.Stitching.ForceSew
- ds.CADTranslator.Stitching.ForceFactor
- ds.CADTranslator.Stitching.RemoveThinFaces

Fix crashes, fix HD leak, fix RAM usage

#jira UE-154019, UE-157085
#rb jeanluc.corenthin
#preflight 6352c5ef7261e565c47ca046
#lockdown jeanmichel.dignard

[CL 22713056 by aurel cordonnier in ue5-main branch]
2022-10-22 17:31:47 -04:00
marc audy
15a4c73b0d [CADKernel] Improve topological welding:
- to try to fix large crack, a second step could be perform with a larger tolerance
- to prevent the meshing failure of thin surface,  and consequently the presence of a crack in the mesh, thin surface can be removed and replaced by a topological weld.
3 new CVar are added to drive this new process:
- ds.CADTranslator.Stitching.ForceSew
- ds.CADTranslator.Stitching.ForceFactor
- ds.CADTranslator.Stitching.RemoveThinFaces

Fix crashes, fix HD leak, fix RAM usage

#jira UE-154019, UE-157085
#rb jeanluc.corenthin
#preflight 6352c5ef7261e565c47ca046
#lockdown jeanmichel.dignard

[CL 22711547 by marc audy in ue5-main branch]
2022-10-22 14:38:08 -04:00
david lesage
f180419c8b #jira UE-157259
Fix that import of the CATProduct hangs. The main problem is due to the size of the message between the CADWorker and the dispatcher in this case (the CATProduct has more than 4000 external references, that generated a message bigger than the limit.)
=>
fix FNetworkNode::ReceiveMessage(): remove the limite of 1 Mb for message size, manage the reception of large messages
fix FDatasmithWorkerHandler::RunInternal(): manage the case of EWorkerErrorState::ConnectionLost

+ some improvements:
- Launch only one worker for monolithic file
- Replace FThread by UE::Tasks::FTask

#rb johan.duparc
#preflight 631a0305304480f8f8584bed

[CL 21908209 by david lesage in ue5-main branch]
2022-09-08 20:09:58 -04:00
David Lesage
67549916ce Remove KernelIO SDK: step 1 - remove references
#preflight 629934a59e46af6513afa90e

[CL 20476961 by David Lesage in ue5-main branch]
2022-06-02 18:20:50 -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
Johan Duparc
c28db07762 Datasmith: adopt latest version of warning about includes order
#preflight 624332dff73c316f68ce6de5
#rb JeanLuc.Corenthin

[CL 19556626 by Johan Duparc in ue5-main branch]
2022-03-30 10:12:09 -04:00
david lesage
ae21c17ec4 DatasmtihCADWorker still initialize Old CADLibrary but not the new one
#jira UE-143923
#rb jeanluc.corenthin
#preflight 621cd0ae037be0078c9b6f45
#lockdown cristina.riveron

#ROBOMERGE-AUTHOR: david.lesage
#ROBOMERGE-SOURCE: CL 19173080 in //UE5/Release-5.0/... via CL 19173492
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19173722 by david lesage in ue5-main branch]
2022-02-28 10:20:08 -05:00
david lesage
809ba20893 Add logic in DatasmithCADWorker to kill itself when parent process does not exist anymore
#jira UETOOL-5020
#rb jeanluc.corenthin
#preflight 62182719e27ba405e8681587

#ROBOMERGE-AUTHOR: david.lesage
#ROBOMERGE-SOURCE: CL 19153507 in //UE5/Release-5.0/... via CL 19159202
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161386 by david lesage in ue5-main branch]
2022-02-25 19:43:39 -05:00
JeanLuc Corenthin
08b26e4552 Fixed build breakage introduced by CL 17614269
#jira UE-127954
#rb none
#preflight 61531be57498d300011c8890

[CL 17646035 by JeanLuc Corenthin in ue5-main branch]
2021-09-28 10:49:26 -04:00
David Lesage
59ac99024f Fix build CADWorker
#rb none

[CL 17552971 by David Lesage in ue5-main branch]
2021-09-17 11:41:05 -04:00
David Lesage
fe21168595 encapsulation of ImportParameter to well manage its setting and the respect of CVar
#preflight 614360178169560001feebb7

[CL 17540414 by David Lesage in ue5-main branch]
2021-09-16 12:47:12 -04:00
David Lesage
daf0ce37e5 Fix Issue 100924: Compile errors
#rb trivial

[CL 17538376 by David Lesage in ue5-main branch]
2021-09-16 09:44:24 -04:00
David Lesage
bf6e70acc2 Fix Issue #100298
#preflight 61408e2ceb6e63000185d821

[CL 17503433 by David Lesage in ue5-main branch]
2021-09-14 08:23:33 -04:00
David Lesage
30a5a2cbf2 TeshSoft PreImplementation:
The main idea is to replace CoreTechFileParser by a generic CADFileReader.
CADFileReader has an ICADFileParser that will process (parse) the file with the selected SDK (KernelIO or TechSoft or ...).
CoreTechFileReader become CoreTechFileParser and implement ICADFileParser.
The next step is to implement TechSoftFileParser.

To simplify the exchange, a FCADFileData replace FContext and extand the encapsulation of the data needed and generated during the file parsing

#rb johan.duparc

[CL 17496262 by David Lesage in ue5-main branch]
2021-09-13 16:36:18 -04:00
aurel cordonnier
e0ad4e25df Merge from Release-Engine-Test @ 16624776 to UE5/Main
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16625248 by aurel cordonnier in ue5-main branch]
2021-06-10 13:13:24 -04:00
david lesage
b6ba12c7d3 #jira none
Adds processing time control in CADWorker
The processing max time is based on the size of the file to process according to its format.
+ increase MaxRestartAllowed
+ add Neu format
#rb jeanluc.corenthin

#ROBOMERGE-OWNER: david.lesage
#ROBOMERGE-AUTHOR: david.lesage
#ROBOMERGE-SOURCE: CL 16393014 in //UE4/Release-4.27/... via CL 16393036
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Staging) (v804-16311228)
#ROBOMERGE-CONFLICT from-shelf

[CL 16447119 by david lesage in ue5-main branch]
2021-05-25 09:39:58 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
david lesage
9c2c1a5546 #jira UE-90480
- fix DatasmithCADWorker launching without CAD_INTERFACE: avoid crash, log a message, return a specific code error
 - fix FDatasmithWorkerHandler::StartWorkerProcess: Test if the external process and extenal application are running (FProcHandle::IsValide is not enough to check if a process is well launch)
#rb johan.duparc

#ROBOMERGE-SOURCE: CL 12294185 in //UE4/Release-4.25/... via CL 12294191
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v668-12245121)

[CL 12296912 by david lesage in Main branch]
2020-03-19 11:03:37 -04:00