Commit Graph

560 Commits

Author SHA1 Message Date
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
nickolas drake
d37b0f7693 MeshModelingToolset: Add Bridge action to TriEdit
#rb semion.piskarev
#jira UE-206073

#changelist validated
#virtualized

[CL 31234194 by nickolas drake in ue5-main branch]
2024-02-06 17:32:58 -05:00
jimmy andrews
5a6525c6d5 fix polyedit's edge loop selection modifying the edge selection while it iterates through it
#jira UE-205955
#rb semion.piskarev

#changelist validated
#virtualized

[CL 31226919 by jimmy andrews in ue5-main branch]
2024-02-06 15:00:05 -05:00
jimmy andrews
373b6ec9a1 clamp bevel distance ranges to avoid weird results for negative, zero, and very large bevel distances
#jira UE-205943
#rb tyson.brochu

#changelist validated
#virtualized

[CL 31216850 by jimmy andrews in ue5-main branch]
2024-02-06 11:32:20 -05:00
semion piskarev
9e66ad3792 ModelingTools: Minor comment/name fixes from extrude edge review.
#rb Lonnie.Li
#jira UE-202885

[CL 31187931 by semion piskarev in ue5-main branch]
2024-02-05 15:49:22 -05:00
semion piskarev
1e929a0d89 ModelingTools: Adding icons for various modeling selection activities and PolyEd activities.
#rb Jimmy.Andrews

[CL 31187719 by semion piskarev in ue5-main branch]
2024-02-05 15:43:03 -05:00
katie caputo
7ec560568b Modeling Tools: Adds 'Local Frame Mode' toggle in the Mesh Element Selection Toolbar Settings so users can edit with the gizmo based either on the selected geometry only or on the entire object
#JIRA UE-202681
#rb lonnie.li, nickolas.drake

[CL 31128610 by katie caputo in ue5-main branch]
2024-02-02 11:59:31 -05:00
jimmy andrews
be2e1f07c9 Fix CopyMeshFromComponent in geometryscript not being able to see instance colors for renderdata lod
#rb David.Hill

[CL 31126576 by jimmy andrews in ue5-main branch]
2024-02-02 11:04:32 -05:00
jimmy andrews
e42ce76d86 [Backout] - CL31123234
(will add in a different stream)
[FYI] Jimmy.Andrews
Original CL Desc
-----------------------------------------------------------------
add support for instance colors in scene component -> dynamic mesh geometry script conversion function
#rb David.Hill

[CL 31124528 by jimmy andrews in ue5-main branch]
2024-02-02 10:10:09 -05:00
jimmy andrews
f182595f4a add support for instance colors in scene component -> dynamic mesh geometry script conversion function
#rb David.Hill

[CL 31123300 by jimmy andrews in ue5-main branch]
2024-02-02 09:45:38 -05:00
semion piskarev
54ce86c9fc MeshModelingTools: Fix edge extrude single direction initialization not matching what happens if you do extrude frames first and then change over.
#rb Jimmy.Andrews
#jira UE-205509

[CL 31101339 by semion piskarev in ue5-main branch]
2024-02-01 16:07:16 -05:00
semion piskarev
f13fe61294 MeshModelingTools: Fix CIS static analysis warning about a place where parameters turned out to be switched.
[CL 31019705 by semion piskarev in ue5-main branch]
2024-01-30 15:54:41 -05:00
semion piskarev
401ed6ed97 MeshModelingTools: Add extrude edge activity to PolyEd and mesh selection. Kept implementating classes in private folder for this release.
#jira UE-202885

[CL 30999688 by semion piskarev in ue5-main branch]
2024-01-30 06:26:44 -05:00
nathan mitchell
917a11ca24 UVEditor: Improved handling of multiple object loading in the UVEditor's 3D viewport.
Two behaviors now exist. When selecting from the Level Editor viewport, relative transforms between all selected objects are preserved in the subsequent UVEditor's viewport. When selecting from the Content Browser, or other sources that don't wrap the selected objects in a Component, the UVEditor will provide an automatic layout based on the object's bounding spheres.

Further, there are two new CVARs:

modeling.UVEditor.EnableLivePreviewArrangement - Enables or Disables the auto arrangement feature when selecting from the Content Browser. This exists to support legacy behavior where users might want the object's baked in transform to position objects in the UVEditor.

modeling.UVEditor.LivePreviewArrangementMode - Selects the mode of the auto arrangement. 0 indicates a line formation. 1 indicates an adaptive circular arrangement.

#rb lonnie.li
#jira UE-202730

[CL 30944612 by nathan mitchell in ue5-main branch]
2024-01-26 17:36:22 -05:00
nickolas drake
3925fcdf2b MeshElementSelection: Remove deprecation markup from UGeometrySelectionManager::ActivePreviewSelection
This was mistakenly included as I thought the SubmitTool had finished its work and I started messing around and it picked up my change

[FYI] lonnie.li

[CL 30861865 by nickolas drake in ue5-main branch]
2024-01-24 16:21:08 -05:00