Commit Graph

77 Commits

Author SHA1 Message Date
bryan sefcik
a3dddc6630 Pass 1 on Developer include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e281694758d0bf2ea1399

[CL 21960082 by bryan sefcik in ue5-main branch]
2022-09-11 18:32:18 -04:00
kerim borchaev
25c18578b4 Datasmith: Fixed build of Datasmith external plugins/SDK (after CL 21915314 has broken it)
#jira none
#preflight 631b0382304480f8f893f36d
#rb Johan.Duparc

[CL 21918656 by kerim borchaev in ue5-main branch]
2022-09-09 08:19:52 -04:00
Johan Duparc
829e7bce67 DatasmithFacade: remove unacceptable words
#jira UE-158606
#preflight 630cf247501b64ba3317c51c

[CL 21682155 by Johan Duparc in ue5-main branch]
2022-08-29 13:16:20 -04:00
Johan Duparc
7549a32b41 Datasmith: Cloth Serialization support
- native translator can load expoorted cloths
#rb JeanLuc.Corenthin
#preflight 6308f5363405456ee56fd221

[CL 21593552 by Johan Duparc in ue5-main branch]
2022-08-26 13:20:02 -04:00
JeanLuc Corenthin
cf41705c54 [Non-inclusivity] Removed banned words from Datasmith API and code using the API
- IDatasmithMasterMaterialElement has become IDatasmithMaterialInstanceElement
 - EDatasmithMasterMateriallType has become EDatasmithReferenceMaterialType
 - IDatasmithMasterMaterialElement is signaled as deprecated and not supported in 5.2
 - The MasterMaterial tag is replaced by MaterialInstance, reading and writing. Reading the MasterMaterial tag is supported for previous versions.
 - Clients should still be able to compile against Datasmith SDK without changing anything. However, warnings of deprecation will be logged.
 - Directories, files and assets which named contained  banned words have been renamed too. Redirect directives in the DatasmithContent module have been added for existing assets

#jira none
#rb johan.duparc
#preflight 6307c702aa0fda29197c01fd

[CL 21570510 by JeanLuc Corenthin in ue5-main branch]
2022-08-25 15:29:37 -04:00
Johan Duparc
8b05af9c05 Datasmith: Log the cause of a serialization issue
#rb none
#jira none
#preflight none

[CL 21539219 by Johan Duparc in ue5-main branch]
2022-08-24 09:23:49 -04:00
Johan Duparc
dac54deb5d Datasmith SDK: Rework handling of meshes exported without UVs data.
#jira UE-160820
#rb JeanLuc.Corenthin, Kerim
#preflight none

[CL 21407530 by Johan Duparc in ue5-main branch]
2022-08-16 12:53:38 -04:00
Johan Duparc
0656b65777 Datasmith SDK: Cleanup old export implementation
#jira UE-155360
#rb none
#preflight 62fb87a32265303c4b85ffa1

[CL 21403669 by Johan Duparc in ue5-main branch]
2022-08-16 08:22:50 -04:00
bryan sefcik
de1956f47b Ran IWYU on Public headers under Engine/Source/Developer/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21064294 by bryan.sefcik
#jira
#preflight 62d5c2111062f2e63015e598

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182053 by bryan sefcik in ue5-main branch]
2022-07-20 12:03:45 -04:00
Devin Doucette
2961cd5dca Logging: Restored and deprecated a deleted function and tweaked the affected names
#preflight 62c84b80b3789302b1ebd675
#rb Zousar.Shaker
#rnx
#fyi Jack.Porter

[CL 21009006 by Devin Doucette in ue5-main branch]
2022-07-08 12:23:44 -04:00
Balazs Toereki
72e74619c3 Revit - Connection and Message dialogs positioning not remembered
Connection/Messages/Settings windows and dialogs now remember position and size within the same session

#jira UE-102277
#rb JeanLuc.Corenthin
#preflight  62c83df7f671e8d2facfa06c

[CL 21008424 by Balazs Toereki in ue5-main branch]
2022-07-08 11:49:17 -04:00
Jack Porter
e5cba9bf11 Replace uses of master in OutputDeviceRedirector
#jira UE-158659
#rb Florin.Pascu
#preflight 62c7e8666003a9b045822d62

[CL 21004289 by Jack Porter in ue5-main branch]
2022-07-08 04:33:35 -04:00
benoit deschenes
a31e062166 DatasmithExporter - Fixing Datasmith GameThread initialization.
The Datasmith GameThread + DirectLink initialization was trigerring some ensure which where sometimes not handled properly and could cause a crash.
We were not properly tagging Unreal's main thread and the dcc's main thread, causing those thread to compete for the main thread role.

#jira UE-148108
#rb JeanLuc.Corenthin Johan.Duparc
#preflight 62a8e13adc04d52792d011ef
#lockdown Simon.Tourangeau

#ROBOMERGE-AUTHOR: benoit.deschenes
#ROBOMERGE-SOURCE: CL 20655640 in //UE5/Release-5.0/... via CL 20657743
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20661508 by benoit deschenes in ue5-main branch]
2022-06-14 20:22:20 -04:00
kerim borchaev
c00bd8bb40 [SketchUp] Fixed texture export on Mac
- avoided call to CopyFile for texture files, was failing because it was copying file onto itself

#jira UE-150966
#preflight 627903eb822bdc69f0021b95
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: kerim.borchaev
#ROBOMERGE-SOURCE: CL 20471781 in //UE5/Release-5.0/... via CL 20472640
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20475260 by kerim borchaev in ue5-main branch]
2022-06-02 16:33:31 -04:00
Johan Duparc
985b598c27 Datasmith: Mesh Exporter: add a way to silent the deprecation ensure
#jira UE-155625
#rb none
#rnx
#preflight 6298dd541941378d7c6ac718

[CL 20470794 by Johan Duparc in ue5-main branch]
2022-06-02 12:07:51 -04:00
jeanluc corenthin
09e4182b09 Fixed missing instances in ArchiCAD exporter
- Root cause: Multi-threading, solution: temporarily disable multi-htreading.
Added UE natvis to ArchiCAD solution for debug purpose
Removed unnecessary library
Cleaned up syntax from tread to thread
Added logic to setting of Direct Link cache directories: No check was made on their validity
Simplified build steps to remove useless compilation of DatasmithArchiCAD project

#jira UE-127453
#rb benoit.deschenes
#preflight 6297aa5f9907cbadba9878b5
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: jeanluc.corenthin
#ROBOMERGE-SOURCE: CL 20457280 in //UE5/Release-5.0/... via CL 20458576
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v952-20449836)

[CL 20461846 by jeanluc corenthin in ue5-main branch]
2022-06-01 18:37:14 -04:00
Johan Duparc
426910d7c9 DatasmithSDK: Default to new mesh serialization
- requires 5.0.3+ to load
#jira UE-155360
#rb JeanLuc.Corenthin
#preflight 62972866841f5ba93cb3ff79

[CL 20450191 by Johan Duparc in ue5-main branch]
2022-06-01 05:10:48 -04:00
benoit deschenes
2e116c92cd DatasmithExpoter - Adding a CloseCurrentSource() function to our DirectLink simplified API.
Some DCC may close a 3d scene without closing the application, in that case they must be able to close the DirectLink source as well.
With the simplified DirectLink API (FDatasmithDirectLink) this was only achievable by creating a new scene that would override the existing one, which is not desirable in this case.
Our C# exporters can only use the simplified API at the moment and this seems like a common enough use-case to be added to FDatasmithDirectLink.

#jira UE-140665
#rb Johan.Duparc
#preflight 6290fa2db83292836e093ea2
#preflight 62953a005370042eb043f84a

[CL 20433116 by benoit deschenes in ue5-main branch]
2022-05-30 18:04:46 -04:00
Johan Duparc
fed4755571 Datasmith: Mesh serialization cleanup
#rb JeanLuc.Corenthin
#preflight 6287ca238828ea88c8677f23

[CL 20324914 by Johan Duparc in ue5-main branch]
2022-05-23 08:40:15 -04:00
Johan Duparc
504dacddd3 Datasmith: minor cleanup
#rb none
#preflight none

[CL 20297940 by Johan Duparc in ue5-main branch]
2022-05-20 13:21:20 -04:00
emil kirichev
e224bbd993 Datasmith Revit: Decals import to use the M_StdDecal
#jira UETOOL-5167
#preflight 6278bb6aef0f1a768507f25b
#rb JeanLuc.Corenthin

[CL 20100295 by emil kirichev in ue5-main branch]
2022-05-09 03:25:49 -04:00
benoit deschenes
afde922bf1 DatasmithExporter - Fixing Rhino and Revit broken export (no export in Rhino, bad mesh scaling in Rhino & Revit)
- Restoring previous FDatasmithSceneExporter::Reset() behavior but marking the function as deprecated.
It's previous usage of reseting the export progress without resetting the whole exporter state was discutable and confusing. If users want to fully reset the exporter they don't need the Reset() function.

- Fixing Datasmith Facade inverse scaling error during position conversion

#preflight 624b48d9dc6183e3f547d3b1
#rb Johan.Duparc Kerim.Borchaev

[CL 19625080 by benoit deschenes in ue5-main branch]
2022-04-05 10:39:18 -04:00
Johan Duparc
429ce6d695 Datasmith: Add support for compressed mesh serialization
#preflight 6241ecd2c667881bf4cc5f18
#preflight 62471a74981a2c8eb49113d5

[CL 19589537 by Johan Duparc in ue5-main branch]
2022-04-01 11:50:17 -04:00
Johan Duparc
e6c8943f4c Datasmith: Large World Coordinate support
rules of thumb:
- Actor transforms are in doubles
- mesh internal data are in floats, except UVs that are in doubles
- compiled 3dsmax, archicad, navisworks, revit, rhino, sketchup, solidworks
#jira UETOOL-5070
#preflight 623f2ee47d49f37dfd3d599b
#rb Benoit.Deschenes

[CL 19533189 by Johan Duparc in ue5-main branch]
2022-03-28 16:55:59 -04:00
Johan Duparc
39dcada438 Datasmith: MeshSerialization refactor
#jira none
#rb JeanLuc.Corenthin
#preflight 623ccce513359b4c47f57db0
#preflight 623e04636d39f6b5a059b10c

[CL 19516593 by Johan Duparc in ue5-main branch]
2022-03-25 14:12:48 -04:00