mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-29 03:19:22 +00:00
Compare SurfaceVertex
instances based on ID
This commit is contained in:
parent
74a9fa546b
commit
6e446a23ad
@ -169,7 +169,9 @@ impl Sweep for (HalfEdge, Color) {
|
||||
// Need to compare surface forms here, as the global forms might
|
||||
// be coincident when sweeping circles, despite the vertices
|
||||
// being different!
|
||||
if prev_last.surface_form() != next_first.surface_form() {
|
||||
if prev_last.surface_form().id()
|
||||
!= next_first.surface_form().id()
|
||||
{
|
||||
edges[j] = edges[j].clone().reverse();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user