matija kecman
85f09669bc
Fix crashes that can happen when the editor is closed while tool operators are in progress
...
#jira UE-195055
#rb Jimmy.Andrews, lonnie.li
[CL 28705036 by matija kecman in ue5-main branch]
2023-10-12 05:53:39 -04:00
jimmy andrews
672eddc46d
fix tool builder type for DrawPolyPathTool (was using the mesh surface point tool builder, but it is not a mesh surface point tool)
...
#rb tyson.brochu
[CL 28540386 by jimmy andrews in ue5-main branch]
2023-10-06 10:51:30 -04:00
jimmy andrews
355aea3bd1
fix cancel drag being turned into accept on the MeshSurfacePointTool-derived classes
...
#rb semion.piskarev
[CL 28540282 by jimmy andrews in ue5-main branch]
2023-10-06 10:48:24 -04:00
jimmy andrews
16a96a6ff6
Make Simple Collision Editor and Mesh To Collision tools call Modify() on the dynamic mesh component and corresponding bodysetup before updating the dynamic mesh collision, so that the undo transaction is properly registered.
...
#jira UE-196966
#rb tyson.brochu
[CL 28508848 by jimmy andrews in ue5-main branch]
2023-10-05 14:29:12 -04:00
jimmy andrews
edc21b808e
Add a normal-based clustering algorithm which groups connected triangle groups based on the current average normal of the group.
...
Use this algorithm in the polygroups generator tool, so we get more useful groups on smooth surfaces (like a cylinder)
Also add a helper to the FSizedDisjointSet class to easily get the number of groups in the set and a mapping between compact group indices and sparse group IDs
#rb david.hill
[CL 28433389 by jimmy andrews in ue5-main branch]
2023-10-03 17:20:18 -04:00
jimmy andrews
3b8d47a076
Make the Simple Collision Editor Tool set collision on a dynamic mesh component target via the function for doing so, rather than by writing it directly to the BodySetup. Fixes an issue where the updated collision could be missed or lost.
...
#rb tyson.brochu
[CL 28429403 by jimmy andrews in ue5-main branch]
2023-10-03 16:12:59 -04:00
matija kecman
0be31ef05c
Mesh To Collision: Add support for Geometry Selection
...
#jira UE-182343,UE-181655
#rb Jimmy.Andrews
[CL 28375647 by matija kecman in ue5-main branch]
2023-10-02 09:37:02 -04:00
jimmy andrews
a1c173294d
Fix source mesh being invisible when plane cut tool is started with show preview unchecked
...
#jira UE-191076
#rb rinat.abdrashitov
[CL 28006067 by jimmy andrews in ue5-main branch]
2023-09-19 14:55:17 -04:00
jimmy andrews
42e9938e1b
fix crash when inspect tool properties are modified after tool shutdown
...
(this happens when the editor closes a color picker window as part of cleaning up the tool properties panel)
#jira UE-195385
#rb lonnie.li
[CL 27940420 by jimmy andrews in ue5-main branch]
2023-09-15 20:39:05 -04:00
jimmy andrews
3e8d698ebe
Add option for mesh inspector to draw edges w/out depth testing, so it is easier to see all the holes / potential issues in a mesh
...
#rb tyson.brochu
[CL 27923399 by jimmy andrews in ue5-main branch]
2023-09-15 13:50:57 -04:00
jimmy andrews
78fbcb1c6b
Use deprecated typedef to fix FSelectedOjectsChangeList typo in ITF's ToolContextInterfaces
...
#jira UE-192620
#rb matija.kecman
#rb lonnie.li
[CL 27782397 by jimmy andrews in ue5-main branch]
2023-09-12 00:11:43 -04:00
Jimmy Andrews
75dc3042b4
Fix the 'mesh to collision' tool not properly updating dynamic mesh component collision settings
...
#rb rinat.abdrashitov
#jira none
[CL 27632304 by Jimmy Andrews in ue5-main branch]
2023-09-06 09:36:56 -04:00
matija kecman
84bdab0304
Support Geometry Selection in the Tangents tool and fix some bugs
...
#jira UE-181650
#rb jimmy.andrews
[CL 27584315 by matija kecman in ue5-main branch]
2023-09-04 07:29:03 -04:00
jimmy andrews
6c4d6456d9
Fix missing transform on initial preview mesh for self union tool, which was causing the initial preview (before first union was computed) to appear at the world origin
...
#rb tyson.brochu
[CL 27547956 by jimmy andrews in ue5-main branch]
2023-08-31 23:39:18 -04:00
semion piskarev
4cd83b4ef0
MeshModelingTools: Fix crash in dynamic sculpt tool due to preview component being attached to the target actor and being destroyed by blueprint recompiles.
...
#rb Lonnie.Li, Tyson.Brochu
#jira UE-192200
[CL 27080243 by semion piskarev in ue5-main branch]
2023-08-14 14:55:10 -04:00
jimmy andrews
f0af20a3b4
Make the revolve boundary tool always reset the axis origin to the mesh location, rather than using the origin / the last-used location.
...
#jira UE-185650
#rb rinat.abdrashitov
[CL 26791605 by jimmy andrews in ue5-main branch]
2023-08-02 18:43:57 -04:00
nathan mitchell
403fe02f5b
Modeling Mode: Fix issue with the Revolve Spline tool where changes to the revolution axis weren't being updated live in the preview geometry.
...
#rb Jimmy.Andrews
#jira UE-189061
[CL 26747204 by nathan mitchell in ue5-main branch]
2023-08-01 14:13:49 -04:00
nathan mitchell
8620759ea8
ModelingMode: Fixes the Vertex Sculpt tool to properly update it's detail panel customizations when falloff types and alpha textures are loaded from presets.
...
#rb Ryan.Schmidt
#jira UE-188153
[CL 26747129 by nathan mitchell in ue5-main branch]
2023-08-01 14:12:42 -04:00
nathan mitchell
eec5c6c119
Modeling Mode: Fix issue where weightmaps are loaded with invalid values for a target when tools' settings are loaded with a preset.
...
#rb Jimmy.Andrews
#jira UE-188052
[CL 26590929 by nathan mitchell in ue5-main branch]
2023-07-25 17:57:32 -04:00
jimmy andrews
650f091451
Fix crash in paint maps tool if user attempts to paint when there are no attributes on the mesh, then tries to undo
...
#jira UE-190543
#rb tyson.brochu
#rb david.hill
[CL 26514372 by jimmy andrews in ue5-main branch]
2023-07-21 11:54:02 -04:00
jimmy andrews
79a285265f
Fix modeling mode vertex paint tool using incorrect transform for camera to paint mesh
...
#jira UE-189343
#rb rinat.abdrashitov
[CL 26408424 by jimmy andrews in ue5-main branch]
2023-07-17 11:26:20 -04:00
jimmy andrews
51c961876f
Fix meshes that have 'recompute tangents' enabled not displaying with correct tangents after conversion to dynamic mesh + enable tangents on sculpt tools so 'original material' mode renders correctly when normal maps are used
...
#jira UE-189344
#rb rinat.abdrashitov
[CL 26408384 by jimmy andrews in ue5-main branch]
2023-07-17 11:25:00 -04:00
matija kecman
d8e6b45610
Add a reusable geometry selection visualization system intended to be used in modeling tools with minimal boilerplate
...
This CL was reviewed here: https://p4-swarm.epicgames.net/reviews/26051575 but needs to be merged into //Fortnite/Release-26.00, not //Fortnite/Main
#jira UE-183457
#rb ryan.schmidt, nathan.mitchell
[CL 26180658 by matija kecman in ue5-main branch]
2023-06-22 09:28:20 -04:00
nathan mitchell
540bffbbbf
Modeling Mode: Fix non-unity compile error
...
#rnx
#jira UE-182341
[CL 26072045 by nathan mitchell in ue5-main branch]
2023-06-16 17:40:52 -04:00
nathan mitchell
7399c9bb75
Modeling Mode: Added a new tool to assist with the editing of simple collision primitives for static and dynamic meshes.
...
This tool mostly encapsulates the basic collision editing behaviors found within the Static Mesh Editor, but exists as a tool within Modeling Mode to work along side existing collision tools, such as Collision to Mesh and Mesh to Collision.
Initial features include:
* Support for selecting and transforming collision primitives, including primitive aware transforms (such as explicit length and radius controls on capsule shapes).
* Adding new simple shapes (spheres, boxes, and capsules)
* Duplicating existing shapes
* Deleting some or all collision geometry
#rb Ryan.Schmidt
#jira UE-182341
[CL 26066042 by nathan mitchell in ue5-main branch]
2023-06-16 15:31:59 -04:00