Commit Graph

22 Commits

Author SHA1 Message Date
Ryan Schmidt
e196c256e4 GeometryProcessing: remove forwarding headers used in GeometryCore transition, and update all affected includes.
#rb none
#rnx
#jira none
#preflight 60c52c5db9446100014da02d

[CL 16653115 by Ryan Schmidt in ue5-main branch]
2021-06-13 00:35:22 -04:00
Ryan Schmidt
4ec1b6ae3c Gizmos: refactor Modeling Mode gizmo creation out of InteractiveGizmoManager. Editor will use other "default" transform gizmo implementations, and so the UTransformGizmo creation helper functions do not belong in GizmoManager. Instead a UTransformGizmoContextObject now provides this functionality. ModelingToolsEditorMode (and any other modes/systems that want to use these gizmo convenience functions) creates an instance of UTransformGizmoContextObject and registers it with the ContextObjectStore. Calling code can spawn a new UTransformGizmo by looking this object up in the ContextStore and calling it's helper functions. Static versions of the helper functions in the UE::TransformGizmoUtil:: namespace provide a single-line interface that replaces the previous GizmoManager call sites in the MeshModelingTools library.
IntervalGizmo is now just registered and unregistered as needed by the MeshSpaceDeformerTool, as this is the only place it is currently used.

Previous implementation in InteractiveGizmoManager is left intact as there are a few uses outside of MeshModelingTools that need to be cleaned up before it can be deleted.

UTransformGizmo now requires it's Builder to tell it which sub-gizmo identifier strings to pass to the GizmoManager to create axis/plane/rotation sub-gizmos (and the code that registers the Builder must then provide these strings). This cleans up previous explicit references to UInteractiveGizmoManager static strings from UTransformGizmo.

#rb Christina.TempelaarL, david.hill
#rnx
#jira none

[CL 16409673 by Ryan Schmidt in ue5-main branch]
2021-05-20 16:39:39 -04:00
Jimmy Andrews
3d38d30d4f fix transforms breaking on CSG meshes when toggling only-use-first-mesh-materials setting
#jira UE-113498
#preflight 6077956d5349e20001362939
#rb lonnie.li
#rnx

[CL 16021738 by Jimmy Andrews in ue5-main branch]
2021-04-15 11:13:12 -04:00
Jimmy Andrews
2f13eea664 Add UI to control opacity/color on translucent cutting mesh for mesh CSG and mesh trimming tools.
#rb ryan.schmidt
#rnx

[CL 15743966 by Jimmy Andrews in ue5-main branch]
2021-03-18 20:23:14 -04:00
lonnie li
328b0c0f0b ModelingTools: Replace MultiSelectionTool PrimitiveComponentTarget with ToolTargets (pt.2)
#rb ryan.schmidt jimmy.andrews semion.piskarev
#jira none
#rnx

[CL 15677067 by lonnie li in ue5-main branch]
2021-03-11 11:40:03 -04:00
Jimmy Andrews
3b3c77c999 add ghostly previews of cutting surfaces for mesh boolean subtraction and for mesh trimming
also only show gizmo for subtracting/trimming mesh

#rb lonnie.li
#rnx

[CL 15662686 by Jimmy Andrews in ue5-main branch]
2021-03-09 21:27:22 -04:00
Ryan Schmidt
ffe3b401cd GeometryProcessing: move all public types in GeometryProcessing plugin into UE::Geometry:: namespace, as well as some code in MeshModelingToolset. Fix fallout in Water, Paint Mode, ChaosEditor, DataPrep, Text3D, Unit Tests, internal projects.
#rb jimmy.andrews, semion.piskarev
#jira none

[CL 15661651 by Ryan Schmidt in ue5-main branch]
2021-03-09 19:33:56 -04:00
Jimmy Andrews
6c699a2ce3 change all the modeling / geometry tools shared pointers to thread safe mode, because they're often used in background threads
#rb ryan.schmidt
#rnx

[CL 15435521 by Jimmy Andrews in ue5-main branch]
2021-02-17 11:50:23 -04:00
ryan schmidt
47311d8f7e ModelingTools UX: change tool names so that label now visible in the main viewport corresponds to icon name. Update accept/cancel/complete tooltips and button styles.
#rb none
#rnx
#jira none

#ROBOMERGE-OWNER: ryan.schmidt
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 15348621 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)
#ROBOMERGE-CONFLICT from-shelf

[CL 15360215 by ryan schmidt in ue5-main branch]
2021-02-08 17:02:09 -04:00
Jimmy Andrews
f468a9debe reset + hide transform of object that will be replaced for create-from-selected type tools (mesh boolean, self union, vox merge/blend/wrap, etc), for more predictable behavior on tool accept
#rb semion.piskarev
#rnx

[CL 15304750 by Jimmy Andrews in ue5-main branch]
2021-02-03 19:00:42 -04:00
Ryan Schmidt
ad9f0ea712 GeometryProcessing: add DynamicMeshAttributeSet::SplitAllBowties() function, splits bowties in NormalOverlay and UVOverlays
ModelingTools: Expose Simplify To Minimal Planar simplification mode in Simplify Tool. Add edge filter to this simplification mode in TMeshSimplification. Add support for returning all edges along intersection curves in FMeshBoolean and FMeshSelfUnion. Add option BooleanMeshesOp and SelfUnionMeshesOp to apply minimal-planar simplification along these cut/intersection edges. Expose as toggles in CSGMeshesTool and SelfUnionMeshesTool
#rb jimmy.andrews
#rnx
#jira none

[CL 14890297 by Ryan Schmidt in ue5-main branch]
2020-12-09 14:18:38 -04:00
Jimmy Andrews
bc4d83ce70 split trim options off the boolean tool into a trim-specific tool w/ trim-specific options
+ add trim inside vs outside option

#rb david.hill, semion.piskarev

[CL 14837879 by Jimmy Andrews in ue5-main branch]
2020-12-02 15:36:50 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
jimmy andrews
582209ee16 add option for mesh csg tools to only use material of first mesh (useful for sculpting case)
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12986453 via CL 12986455 via CL 12986457
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12986458 by jimmy andrews in Main branch]
2020-04-22 21:12:20 -04:00
jimmy andrews
962192a0a0 Pull delete/hide/keep original actor logic out of the separate mesh/vox union/boolean tools to a shared Properties file, & clean up surrounding logic
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12972560 via CL 12972561 via CL 12972564
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12972566 by jimmy andrews in Main branch]
2020-04-21 23:51:57 -04:00
jimmy andrews
f4d957c473 fix undo of input hiding for csg + merge tools, + add option to keep (not hide or delete) sources for mesh csg+merge
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12941529 via CL 12941533 via CL 12941542
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12941546 by jimmy andrews in Main branch]
2020-04-20 20:46:11 -04:00
jimmy andrews
6b79044f74 optional grid snapping for mesh CSG tool widgets
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12940885 via CL 12940886 via CL 12940891
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12940893 by jimmy andrews in Main branch]
2020-04-20 19:11:42 -04:00
ryan schmidt
e7f3baf1ca Edigrate Dev-Editor updates to InteractiveToolsFramework, GeometryProcessing, MeshModelingToolset, and ModelingTools Editor Mode Plugins. Update a few files in new MeshPaint Plugin for UInteractiveTool rename of ::Tick() to ::OnTick().
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12908995 via CL 12908996 via CL 12909001
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12909003 by ryan schmidt in Main branch]
2020-04-18 18:42:59 -04:00