Commit Graph

578 Commits

Author SHA1 Message Date
lonnie li
8412050e52 ModelingTools: Disable Convert tool on bIsCookedForEditor StaticMesh and SkeletalMesh assets again to prevent crashes when running the tool on read-only cooked assets in UEFN.
#rb Jimmy.Andrews

[CL 32057046 by lonnie li in ue5-main branch]
2024-03-06 12:02:31 -05:00
jimmy andrews
faeb30bea8 make tools use a more consistent path to get dynamic meshes from tool targets
#jira UE-200228
#rb David.Hill

[CL 32004665 by jimmy andrews in ue5-main branch]
2024-03-04 18:35:47 -05: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
yoan stamant
c942ebd49c Converted some header deprecation from 5.5 to 5.4
#rb Marc.Audy

[CL 31630036 by yoan stamant in ue5-main branch]
2024-02-19 18:02:45 -05:00
katie caputo
b403616bec Modeling Tools: Places Mesh Element Selection Gizmo in Object Frame Mode at selected component(s) pivot rather than at object's pivot
#JIRA UE-206515
#rb lonnie.li

[CL 31575613 by katie caputo in ue5-main branch]
2024-02-16 14:49:01 -05:00
jimmy andrews
086d9075c0 Make create-from-selected tools apply updated materials to both the component as well as the asset, so that the material reliably shows in the result while still applying to the asset
#jira UE-183218
#rb tyson.brochu

[CL 31554945 by jimmy andrews in ue5-main branch]
2024-02-15 23:11:02 -05:00
jimmy andrews
5b562530be fix convert tool losing materials
#rb tyson.brochu

[CL 31554839 by jimmy andrews in ue5-main branch]
2024-02-15 23:01:14 -05:00
tyson brochu
857441e608 Remesher: add an optional edge length scale function that can be used for adaptive-density remeshing
#rb jimmy.andrews
#jira UE-207063

[CL 31545067 by tyson brochu in ue5-main branch]
2024-02-15 19:02:26 -05:00
jimmy andrews
51acbbca53 stop silent-updating the uv layout preview wireframe when its visibility is turned off, so it actually sees the visibility change
#jira UE-187179
#rb David.Hill

[CL 31532224 by jimmy andrews in ue5-main branch]
2024-02-15 15:14:31 -05:00
jimmy andrews
8357d71799 deprecate now-unused FGenericMeshSelection struct
#rb David.Hill

[CL 31531894 by jimmy andrews in ue5-main branch]
2024-02-15 15:08:36 -05:00
semion piskarev
975c17f5f1 ModelingTools: Minor inset, extrude, and push/pull option renames, reordering, and tooltip cleanup.
#rb David.Hill
#jira UE-200615, UE-200623

[CL 31525899 by semion piskarev in ue5-main branch]
2024-02-15 13:16:13 -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
jimmy andrews
f82bec6181 remove various deprecated methods from modeling components code
#rb jimmy.andrews

[CL 31501927 by jimmy andrews in ue5-main branch]
2024-02-14 19:10:11 -05:00
jimmy andrews
05d70b0bf8 remove deprecated persistent mesh selection code from modelingcomponents
#rb jimmy.andrews

[CL 31501095 by jimmy andrews in ue5-main branch]
2024-02-14 18:58:49 -05:00
nickolas drake
80dffdfbf9 MeshModelingToolset: Allow snapping to objects in scene when using DrawPolygonTool even when the camera is positioned such that the raycast does not hit the tool plane.
We now early out when the raycast misses the plane if snapping is disabled. If the tool plane is missed, then we use a point along the camera ray to find scene snap point (passed to FindSceneSnapPoint). A related bug is also fixed in this change in the snapping manager which caused only small sections of snappable edges to be considered. This was because the point passed to FindSceneSnapPoint was used to find a point on the 3 edges of a hit triangle, which is sensitive to camera position. Instead, we now use the raycast's impact point for the purposes of finding snap points on edges.

#rb Jimmy.Andrews, semion.piskarev
#jira UE-203169

[CL 31480016 by nickolas drake in ue5-main branch]
2024-02-14 12:23:44 -05:00
yoan stamant
0d5635a910 Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31470741 by yoan stamant in ue5-main branch]
2024-02-14 09:15:30 -05:00
jimmy andrews
12f0f3a413 stop assuming that the group topology edge IDs are the same as the corresponding mesh edge IDs in the tri edit extrude activity
#jira UE-206059
#jira UE-206051
#rb rinat.abdrashitov

[CL 31445738 by jimmy andrews in ue5-main branch]
2024-02-13 16:08:13 -05:00
alex kahn
cdfd11e33e [Backout] - CL31425693 - CIS UE Error Backout 4/4
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31440421 by alex kahn in ue5-main branch]
2024-02-13 14:37:03 -05:00
yoan stamant
00a0c5ac5d Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31425867 by yoan stamant in ue5-main branch]
2024-02-13 09:57:09 -05:00
nickolas drake
3e2fa59703 MeshModelingToolset: Update preview when toggling Shells to Solids in PolyEdit extrude activity.
#rb lonnie.li
#jira UE-200622

[CL 31382272 by nickolas drake in ue5-main branch]
2024-02-12 10:26:19 -05:00
jimmy andrews
b4bb1bfb9a disable workarounds for now-fixed collision update bug, so bake transform, edit pivot, and the various voxel/boolean tools will not create two transactions per operation for static meshes that have convex collision
#jira UE-165856
#rb David.Hill, lonnie.li

[CL 31347696 by jimmy andrews in ue5-main branch]
2024-02-09 13:16:32 -05:00
nickolas drake
7d8003023f MeshModelingToolset: Fix crash when hiding actors deleted by tools with Delete Inputs option.
Our approach to deleting actors was apparently not sufficient to notify various editor systems of the deletion. This CL replaces AActor::Destroy with calls to UUnrealEdEngine::DeleteActors and UWorld::DeleteActor (depending on the context)

#rb lonnie.li
#jira UE-204240

[CL 31304400 by nickolas drake in ue5-main branch]
2024-02-08 16:20:34 -05:00
halfdan ingvarsson
1003ebb7a4 Skin Bind Tool: Fix binding computation when there's only one influence per bone
#jira UE-189507
#rb benoit.gadreau
#rnx

[CL 31271665 by halfdan ingvarsson in ue5-main branch]
2024-02-07 16:33:13 -05:00