Commit Graph

317 Commits

Author SHA1 Message Date
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
johan duparc
bea862d9d8 DatasmithSDK: ship the unreal.natvis file with the SDK, use it by default in the SDKSample project
#rb JeanLuc.Corenthin
#preflight none

[CL 21864835 by johan duparc in ue5-main branch]
2022-09-07 18:10:02 -04:00
kerim borchaev
d5d2e263ba [3ds Max] Fixed texture sync when multiple texmaps can use same image file
- to allow the fix refactored texture element creation for texmaps. Removed legacy code duplication of texmap conversion code and texture element creation.

- also added more statistics and for baked textures - total/average stats and individual texmap

#jira UE-162594
#preflight 630f34370345de4ccfce4a52
#rb benoit.deschenes

[CL 21737030 by kerim borchaev in ue5-main branch]
2022-09-01 03:36:09 -04:00
JeanLuc Corenthin
8b68b5d56e Remove non-inclusive words from exporters' installer
#jira UE-158635, UE-158636, UE-158637, UE-158639
#rb none
#preflight 630e8445660db81edb9e29ec

[CL 21719725 by JeanLuc Corenthin in ue5-main branch]
2022-08-31 09:17:59 -04:00
Johan Duparc
207cc48d86 DatasmithSDK: Fixed unacceptable word
#jira UE-158638
#preflight none
#rb none

[CL 21681836 by Johan Duparc in ue5-main branch]
2022-08-29 13:06:20 -04:00
kerim borchaev
4902b4495f [3ds Max] Version displayed with CL #
#jira UE-161536
#preflight 6308a302744536d79bb00368
#rb trivial

[CL 21587567 by kerim borchaev in ue5-main branch]
2022-08-26 06:52:00 -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
kerim borchaev
ae749b7165 [3ds Max] XRef Scenes export/sync toggle
#jira UE-161663
#preflight 6304992f03520e063cb34a97
#rb benoit.deschenes

[CL 21544365 by kerim borchaev in ue5-main branch]
2022-08-24 13:08:18 -04:00
kerim borchaev
ca9e04621c [3ds Max] Datasmith Version
- printed in log and displayed in Messages title

#jira UE-161536
#preflight 63033e31fa1ac183e5deaca1
#rb benoit.deschenes

[CL 21483205 by kerim borchaev in ue5-main branch]
2022-08-22 10:24:48 -04:00
kerim borchaev
1577946949 [3ds Max] Export Selected Button
- replaced dropdown option to choose what to export with dedicated button to export all selected
- additionally: used 'gear' ison for settings and new 'wrench' icon for tools menus

#jira UE-161535
#preflight 63033396516bef57ff61963e
#rb benoit.deschenes

[CL 21482995 by kerim borchaev in ue5-main branch]
2022-08-22 10:07:54 -04:00
kerim borchaev
61c3d84112 [SketchUp] Camera updates and active flag
#jira UE-153690
#preflight 62fdf58f0601ad0504728fe2
#rb benoit.deschenes

[CL 21454264 by kerim borchaev in ue5-main branch]
2022-08-19 00:51:24 -04:00
kerim borchaev
354269d647 [3ds Max] Keep Aspect Ratio for baked procedural textures
- also added tooltips for size dropdown items

#jira UE-161180
#preflight 62fc8afae64b1a5109190950
#rb benoit.deschenes

[CL 21454254 by kerim borchaev in ue5-main branch]
2022-08-19 00:49:37 -04:00
kerim borchaev
e192471dbc [SketchUp] Optimize Actor counts
- Component Instance without children doesn't create extra actor(only mesh actor)
- Image creates only Mesh
- fixed medatada removal when component is removed

#jira UE-157330
#preflight 62f3a1887c66d5539e45c87c
#rb benoit.deschenes

[CL 21454251 by kerim borchaev in ue5-main branch]
2022-08-19 00:48:28 -04:00
kerim borchaev
66784ba492 [3ds Max] More stable static mesh id
- using smallest handle value among instance nodes

#jira UE-161187
#preflight 62fcd078200ff87e0771ab05
#rb benoit.deschenes

[CL 21425402 by kerim borchaev in ue5-main branch]
2022-08-17 11:02:42 -04:00
kerim borchaev
f7103d9fab [SketchUp] Fixed normals when baking transform into mesh
- normals are transformed with inverse-transposed orientation component of the bake transform

#jira UE-130882
#preflight 62f4b357185b21882a1c2a6f
#rb benoit.deschenes

[CL 21402096 by kerim borchaev in ue5-main branch]
2022-08-16 02:59:01 -04:00
kerim borchaev
48156844ad [3ds Max] Fixed camera parameters export for standard cameras
- note: this was not a regression

#jira UE-159603
#preflight 62f1044e23003b62a3c9bcce
#rb benoit.deschenes

[CL 21402068 by kerim borchaev in ue5-main branch]
2022-08-16 02:54:49 -04:00
kerim borchaev
c87d2c16c4 [3ds Max] Hide By Category Sync support
#jira UE-159783
#preflight 62f1049abc175ec68ca246ab
#rb benoit.deschenes

[CL 21402053 by kerim borchaev in ue5-main branch]
2022-08-16 02:51:36 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
kerim borchaev
b2c2a399e2 [SketchUp] Material Transparency with Texture
- fixed case when Sketchup transparent material using texture without alpha appearad opaque
- fixed combining scalar opacity and texture alpha(now they are modulated)
- fixed VERY old issue with texture opacity source - INVERTED BLUE channel of material texture was used as opacity source

#jira UE-157361
#preflight 62d81f79c0180d8071dbf668
#rb benoit.deschenes

[CL 21197684 by kerim borchaev in ue5-main branch]
2022-07-21 00:39:21 -04:00
kerim borchaev
68cac21204 [SketchUp] Image Entity
- Image entity exported as a separate actor
- layer visibility working(as well as regular visibility)
- Image dimensions baked into static mesh
- Image entities with the same image contents(bitmap data) share Datasmith material
- Sync of image parameters - transform and dimensions

#jira UE-153795 UE-159380
#preflight 62d65304185da2495f6a5c7d
#rb benoit.deschenes

[CL 21179810 by kerim borchaev in ue5-main branch]
2022-07-20 10:54:47 -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
kerim borchaev
24c7db0e40 [SketchUp] Classification Types exported to metadata
#jira UE-158026
#preflight 62c46d0c3c5171c817a418b9
#rb benoit.deschenes

[CL 20988609 by kerim borchaev in ue5-main branch]
2022-07-07 14:27:02 -04:00
kerim borchaev
c7fded5bda [SketchUp] Static Mesh name uses Persistent Id instead of Guid
- for SU versions above 2019(since 2020.1)

#jira UE-157332
#preflight 62c580a6a6654f97296f75c9
#rb benoit.deschenes

[CL 20981086 by kerim borchaev in ue5-main branch]
2022-07-07 02:05:52 -04:00
kerim borchaev
b36fc2b534 [SketchUp] Merge Component geometry into single mesh
- old code(making disconnected faces into separate meshes) is kept, compiling. In case we need an option

#jira UE-157330
#preflight 62beca2cd94b57687c72fa75
#rb benoit.deschenes

[CL 20935622 by kerim borchaev in ue5-main branch]
2022-07-04 12:07:56 -04:00
kerim borchaev
ea07dc6b37 [SketchUp] "Color By Tag"
- Switching Color By Tag rebuilds materials for the whole scene to use SU Layer(aka Tag)
materials
- Also includes texture/uv scaling information of Layer materials.
- Layer/Tag override works as in SU - default(Layer0) layer material overriden if component instance overrides Layer

#jira UE-130705
#preflight 62bc694ce353c20ac246ae8e
#rb benoit.deschenes

[CL 20935075 by kerim borchaev in ue5-main branch]
2022-07-04 11:04:35 -04:00