104 Commits

Author SHA1 Message Date
katie caputo
a48a73d4da Modeling Tools: Cleans and fixes bugs in UV Snapshot tool, adds icon
#JIRA UE-202724
#rb lonnie.li, semion.piskarev

[CL 36447277 by katie caputo in 5.5 branch]
2024-09-19 15:26:42 -04:00
halfdan ingvarsson
df166cdbe7 Geoscripting: Add an option to reconstruct non-manifold meshes
#rb David.Hill

[CL 36212041 by halfdan ingvarsson in 5.5 branch]
2024-09-11 17:57:34 -04:00
jimmy andrews
1e32625674 fix materials slot mapping when creating a static mesh w/ unnamed materials slots
#rb jimmy.andrews

[CL 34566587 by jimmy andrews in ue5-main branch]
2024-06-21 12:34:02 -04:00
sebastien lussier
266ea40bff World Partition - HLOD: Avoid the creation of reverse index buffers when building HLODs
* Reversed index buffers are used to handle negative scaling transforms. Since HLOD meshes will never be used with such transforms, we can get rid of these buffers and reduce memory usage.
#jira UE-216169
#rb JeanFrancois.Dube

[CL 34065502 by sebastien lussier in ue5-main branch]
2024-06-03 10:23:45 -04:00
alexis matte
b5e83ba5f7 Fix crash when saving staticmesh that is compiling
#jira UE-215002
#rnx
[FYI] JeanLuc.Corenthin

[CL 33808100 by alexis matte in ue5-main branch]
2024-05-21 16:25:39 -04:00
benoit gadreau
77adc25814 DynamicMeshProvider: full support for MeshDescription LODs when converting to DynamicMesh
a FGetMeshParameters parameter is now used to request a specific LOD, as well as the option of requesting tangents
    this will also allow further customization in the future, if required, by adding attributes to the FGetMeshParameters struct


#rb halfdan.ingvarsson, Jimmy.Andrews
#rnx

[CL 33681647 by benoit gadreau in ue5-main branch]
2024-05-16 04:43:12 -04:00
lonnie li
a746e676fb ModelingTools: Added a new cvar (modeling.CapturePostEditChangeInTransactions, default=true). When set to false, PostEditChange will be excluded from tool-target based modeling tool transactions.
#rb David.Hill, semion.piskarev
#jira UE-209978

[CL 33496407 by lonnie li in ue5-main branch]
2024-05-07 17:25:47 -04:00
alban bergeret
f26d489cd8 Added the ability to generate UVs with full floating point precision when building a new Mesh asset programmatically
#rb Jimmy.Andrews

[CL 33243084 by alban bergeret in ue5-main branch]
2024-04-25 16:13:21 -04:00
jack cai
cda118409f [Skeletal Mesh Editor] Third attempt to make sure UI reacts to new weight map layers being added as new Vertex Attributes
+verified that the thread safety issue due to the use of a multicast delegate from a workerthread during cook is fixed as well.

#jira UE-210085
#rb benoit.gadreau
#lockdown timothy.daoust

[CL 32540278 by jack cai in ue5-main branch]
2024-03-27 08:04:58 -04:00
justin peterson
3bd0386dee [Backout] - CL32415082 - Build Cook Error
[FYI] jack.cai
Original CL Desc
-----------------------------------------------------------------
[Skeletal Mesh Editor] second try to make sure UI reacts to new weight map layers being added as new Vertex Attributes
+verified that the thread safety issue due to the use of a multicast delegate from a workerthread during cook is fixed as well.

#jira UE-210085
#rb benoit.gadreau

[CL 32426249 by justin peterson in ue5-main branch]
2024-03-21 23:08:56 -04:00
jack cai
a28669f2b7 [Skeletal Mesh Editor] second try to make sure UI reacts to new weight map layers being added as new Vertex Attributes
+verified that the thread safety issue due to the use of a multicast delegate from a workerthread during cook is fixed as well.

#jira UE-210085
#rb benoit.gadreau

[CL 32417951 by jack cai in ue5-main branch]
2024-03-21 17:42:19 -04:00
keaton stewart
50a0935bf2 [Backout] - CL32368829
[FYI] jack.cai
Original CL Desc
-----------------------------------------------------------------
[Skeletal Mesh Editor] Making sure UI reacts to new weight map layers being added as new Vertex Attributes

#jira UE-210085
#rb benoit.gadreau

[CL 32379120 by keaton stewart in ue5-main branch]
2024-03-20 15:51:42 -04:00
jack cai
ce361c61a3 [Skeletal Mesh Editor] Making sure UI reacts to new weight map layers being added as new Vertex Attributes
#jira UE-210085
#rb benoit.gadreau

[CL 32369086 by jack cai in ue5-main branch]
2024-03-20 12:05:17 -04:00
jimmy andrews
f79612960d make static mesh <-> dynamic mesh conversion be aware of section (polygon group ID) to material index mappings
#jira UE-200228
#rb David.Hill

[CL 32004596 by jimmy andrews in ue5-main branch]
2024-03-04 18:33:07 -05:00
jimmy andrews
838c9b6039 Make modeling tools set SectionInfoMaps on newly-created static meshes. This fixes downstream issues with code that expects the maps to be populated, including the Lumen card build.
#jira UE-198095
#rb David.Hill

[CL 31850454 by jimmy andrews in ue5-main branch]
2024-02-27 15:13:25 -05:00
christopher waters
5a0e169c6d Getting more headers compiling solo on Win64.
#rb joe.kirchoff, henrik.karlsson

[CL 31663239 by christopher waters in ue5-main branch]
2024-02-20 18:57:35 -05:00
lonnie li
41575d82d0 Explicit mark dirty to Modify for Brush, Poly, and Model.
This change restores the behavior prior to the change to the default argument of the Modify function of (Brush, Poly, and Model) from false to true.

#rb Jimmy.Andrews
#jira UE-205335

#ushell-cherrypick of 30989122 by Marc.Audy

[CL 31503108 by lonnie li in ue5-main branch]
2024-02-14 19:41:43 -05:00
halfdan ingvarsson
b692d6e175 Skeletal Mesh: Change the import storage to use FMeshDescription instead of FSkeletalMeshImportData. This includes deprecating the USkeletalMesh::LoadLODImportedData and friends, in lieu of an API more similar to the one on UStaticMesh (GetMeshDescription/CommitMeshDescription/etc).
#jira UE-166343
#rb Alexis.Matte, benoit.gadreau, john.vanderburg

[CL 30711382 by halfdan ingvarsson in ue5-main branch]
2024-01-19 00:37:06 -05:00
jimmy andrews
723fd517f1 make staticmeshtooltarget and staticmeshcomponenttooltarget handle buildscale on static mesh <-> mesh description conversions, so tools using these targets will show correctly-scaled meshes
#rb David.Hill

[CL 30193994 by jimmy andrews in ue5-main branch]
2023-12-07 17:38:34 -05:00
jimmy andrews
1e48d7a222 handle build scale for static meshes in the static mesh selector
#rb David.Hill

[CL 30193571 by jimmy andrews in ue5-main branch]
2023-12-07 17:00:00 -05:00
jimmy andrews
0b02d04d2b add a default-enabled option to remove degenerate triangles during dynamic mesh -> volume conversion, to make volume creation more likely to create valid BSP geometry that works for collisions. This fixes the collision for the modeling mode cone and arrow primitives when they are created as blocking volumes.
#rb rinat.abdrashitov
#jira UE-201659

[CL 30047481 by jimmy andrews in ue5-main branch]
2023-12-01 13:47:26 -05:00
roey borsteinas
e168d21835 Exposed a new property bIsEditable on UDynamicMeshComponent to allow them to block any modifications done through EditMesh/SetMesh. Additionally, when this flag is set to false, the UDynamicMeshToolTarget is blocked from being created for the dynamic mesh component so modeling tools can't edit the mesh either.
#rb Ryan.Schmidt

[CL 29959323 by roey borsteinas in ue5-main branch]
2023-11-28 09:50:36 -05:00
nickolas drake
5b4f2d0acc PatternTool: Fixed a bug causing the tool to not emit any actors when a normal StaticMeshActor is used. Now the tool properly emits FortStaticMeshActors.
#rb Jimmy.Andrews

[CL 29815558 by nickolas drake in ue5-main branch]
2023-11-17 14:00:58 -05:00
jimmy andrews
7e50f1b82d add option to request tangents to the dynamic mesh provider, with custom implementations for targets that go through the mesh description (so we'll use the standard tangent compute paths in those cases)
#rb ryan.schmidt

[CL 29416384 by jimmy andrews in ue5-main branch]
2023-11-03 14:59:41 -04:00
lonnie li
c985b2ef68 ModelingTools: Fixed crash in UEFN when reloading a level after using the Modeling Tools with Mesh Element Selection.
#rb jimmy.andrews

[CL 27739312 by lonnie li in ue5-main branch]
2023-09-09 14:50:19 -04:00