Skip to content

Commit

Permalink
fix point-based boolean for open meshes (#3928)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grantim authored Dec 27, 2024
1 parent e91dc04 commit 7ec2eaa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/MRMesh/MRMeshBoolean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ Vector3f findEdgeTriIntersectionPoint( const Mesh& edgeMesh, EdgeId edge, const

void gatherEdgeInfo( const MeshTopology& topology, EdgeId e, FaceBitSet& faces, VertBitSet& orgs, VertBitSet& dests )
{
faces.set( topology.left( e ) );
faces.set( topology.right( e ) );
if ( auto l = topology.left( e ) )
faces.set( l );
if ( auto r = topology.right( e ) )
faces.set( r );
orgs.set( topology.org( e ) );
dests.set( topology.dest( e ) );
}
Expand Down

0 comments on commit 7ec2eaa

Please sign in to comment.