UE5 Modeling-Mode: Welding vertices/edges?

I found a number of code leads, in case anyone would like to follow up on this. However, there seems no obvious easy way to add your own mesh ops, without modifying the engine itself. Certainly not something I should try in my first week of Unreal :roll_eyes:

  • UEditMeshPolygonsTool::ApplyWeldEdges()
    This is called on PolyEdEdge EditsWeld

  • UEditMeshPolygonsTool::ApplyCollapseEdge()
    Some dead code where somebody tried to implement collapsing of edges, with an interesting comment of “AAAHHH cannot do because of overlays” :rofl:
    This was probably supposed to call the above mentioned FDynamicMesh3::CollapseEdge.

  • UEditMeshPolygonsToolEdgeActions
    The different tools when editing edges in PolyEd.

  • FModelingToolActionCommands
    Registering of tools happens here.

  • FModelingToolsEditorModeModule::OnPostEngineInit()
    Which again is tied to this module.