Commit Graph

99 Commits

Author SHA1 Message Date
jimmy andrews
9fc49c9ccc Clarify when the Rotation setting is used in the Add Primitive tools by disabling it when it is not applicable, renaming it to Initial Rotation, and expanding its tooltip.
#jira UE-214750

#rb lonnie.li

[CL 33606316 by jimmy andrews in ue5-main branch]
2024-05-13 13:38:19 -04:00
lonnie li
2af59d333c ModelingTools: Fixed Inset tooltip error in PolyEdit/TriEdit.
[CL 33590054 by lonnie li in ue5-main branch]
2024-05-10 18:30:43 -04:00
jimmy andrews
87679c1c76 Make draw polygon, draw polypath, and draw-and-revolve tools initialize with a 'reasonable' drawing frame instead of starting at the origin
#jira UE-185651

Where reasonable means centered on the selection (if available), or otherwise centered in the view.
If a geometry element is selected, we will also align to that (e.g., aligning to the plane of a selected triangle)
#rb David.Hill

[CL 33182868 by jimmy andrews in ue5-main branch]
2024-04-23 18:39:48 -04:00
lonnie li
78fbbf5f4b ModelingTools: Fix typo in the Cone primitive tooltip for the radial slices property.
[CL 33055331 by lonnie li in ue5-main branch]
2024-04-17 19:31:10 -04:00
jimmy andrews
ceba3641f4 Improvements to capsule generator (and corresponding add capsule tool and geometry script node):
+ Add a cylinder-section subdivision parameter, to control tesselation
 + Make UVs consistent across different subdivision / hemisphere step amounts
#rb David.Hill

[CL 33038867 by jimmy andrews in ue5-main branch]
2024-04-17 12:20:16 -04:00
jimmy andrews
632ff3a002 add capsule primitive tool
#rb jimmy.andrews

[CL 32937140 by jimmy andrews in ue5-main branch]
2024-04-12 14:06:16 -04: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
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
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
katie caputo
6c6188c40d Modeling Tools: Adding AtOrigin functionality to AddPrimitiveTool placement
#JIRA UE-202897
#rb lonnie.li

[CL 30842810 by katie caputo in ue5-main branch]
2024-01-24 10:03:07 -05:00
nickolas drake
d464d2ed09 PolyEdit: Add support for deleting polygroup edges
#rb semion.piskarev
#jira UE-202723

[CL 30660213 by nickolas drake in ue5-main branch]
2024-01-17 11:34:26 -05:00
semion piskarev
3d4bf819a5 ModelingTools: Allow tools to customize the accept/cancel overlay for sub-activitites, and use this in PolyEd.
#rb lonnie.li
#jira UE-196706

[CL 30601293 by semion piskarev in ue5-main branch]
2024-01-12 15:01:55 -05:00
jimmy andrews
6ba33263bd Add support for copying collision shapes in the Create From Selected base tool, so we get this feature in the derived tools (e.g., the Merge tool, Vox Wrap, a few others).
Customize derived tools to exclude the collision from subtracted shapes.

#jira UE-182340
#rb lonnie.li

[CL 30359256 by jimmy andrews in ue5-main branch]
2023-12-15 15:50:51 -05:00
jimmy andrews
0b552fbb8f Rename the edit mesh polygons 'Done' UI button from 'Cancel' to 'Complete' because it often (but not always) accepts the action result
Add a comment noting that this is intentional, despite looking broken since the function calls PostAction(CancelCurrent)
#rb semion.piskarev
#jira UE-193338

[CL 30054469 by jimmy andrews in ue5-main branch]
2023-12-01 16:38:45 -05:00
jimmy andrews
d3b9938342 minor modeling mode tooltip cleanup -- fix a typo in edit polygroups and add requested tooltip in vox offset
#jira UE-195518
#jira UE-179311

#rb tyson.brochu

[CL 29851325 by jimmy andrews in ue5-main branch]
2023-11-20 16:39:17 -05:00
jimmy andrews
d2f9909554 Add geometry selection api overload to tools that won't affect selection, so the modeling mode can restore any previous geometry selection after use
#jira UE-189085
#rb matija.kecman

[CL 29096961 by jimmy andrews in ue5-main branch]
2023-10-25 14:36:45 -04:00
jimmy andrews
cca27c2cdc Make the Modeling Tools Rounded Rectangle primitive preserve its Width/Depth by default as the Corner Radius changes. Add an option to enable the old behavior, where the Corner Radius extends beyond the Width/Depth.
#jira UE-191353
#rb rinat.abdrashitov

[CL 26791594 by jimmy andrews in ue5-main branch]
2023-08-02 18:43:44 -04:00
jimmy andrews
91e21c2731 Make a larger UI range for height offset in revolve properties
#rb trivial
#preflight skip

[CL 25433716 by jimmy andrews in ue5-main branch]
2023-05-11 15:27:54 -04:00
jimmy andrews
86467b259c fix compile error from bad merge in UVProjectionTool.h
#rb trivial
#preflight skip

[CL 24508051 by jimmy andrews in ue5-main branch]
2023-03-03 17:10:17 -05:00
jimmy andrews
cebb9b8683 InteractiveToolsFramework: Adds new helper methods to determine count ActorComponents that match TargetRequirements and an additional test predicate for specialized scenarios. Additionally adds a couple of helper methods to test for Volume components and component classes that support UVs. This is to fix the issues surrounding the UV modeling tools that shouldn't be viable for Volume type targets.
#rb Jimmy.Andrews
#preflight 63fe5fa6dd78dd50f61b619a

#tests Local testing with UEFN build 24438442.

#ushell-cherrypick of 23533564 by nathan.mitchell

[CL 24508032 by jimmy andrews in ue5-main branch]
2023-03-03 17:09:53 -05:00
jimmy andrews
f63cdc13af Update FLocalPlanarSimplify to support simplification along straight creases in a mesh, where the sides of the crease may optionally belong to different PolyGroups
Add an edge simplification operation to the PolyEdit tool

#rb semion.piskarev
#preflight 63ee9a0f3c1eb56f055442ac

[CL 24276322 by jimmy andrews in ue5-main branch]
2023-02-16 21:55:32 -05:00
ryan schmidt
af5699f133 ModelingTools: improve handling of invalid input selections to PolyEd Tool
Add UGeometrySelectionManager::GetActiveSelectionInfo, returns info about current selection w/o having to copy selection
Override UEditMeshPolygonsActionModeToolBuilder::CanBuildTool, use this new function to do specific per-action filtering to limit to supported input selection types
UEditMeshPolygonsSelectionModeToolBuilder::InitializeNewTool() now filters UI panels for current input selection if available, update Selection-palette PolyEd button to use this builder instead
#jira UE-176168
#preflight 63e2c886c2257e56f413b805
#rb david.hill

[CL 24068438 by ryan schmidt in ue5-main branch]
2023-02-08 01:21:37 -05:00
semion piskarev
be1e6fbac3 Fix capitalization of PolyGroup in some rare user-visible places.
#rb Jimmy.Andrews
#preflight 63dae05e3f006aee11b04b19

[CL 24004176 by semion piskarev in ue5-main branch]
2023-02-03 20:53:04 -05:00
semion piskarev
16b08005f7 MeshModelingTools: Fix PolyEd group edge insertion crashing if an undo transaction is received while waiting for an insertion to complete, and harden some of the state management.
#rb Tyson.Brochu, Jimmy.Andrews
#jira UE-174502
#preflight 63d3e7ba31334253e5c77aab

[CL 23889578 by semion piskarev in ue5-main branch]
2023-01-27 14:53:43 -05:00
ryan schmidt
227ac3d087 ModelingTools: Add OffsetMeshSelectionTool and RetriangulateGeometrySelectionCommand
#preflight 63cb1d78574ab9cae448312c
#rb none

[CL 23803436 by ryan schmidt in ue5-main branch]
2023-01-21 13:02:53 -05:00