mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-30 11:55:57 +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
|
// Need to compare surface forms here, as the global forms might
|
||||||
// be coincident when sweeping circles, despite the vertices
|
// be coincident when sweeping circles, despite the vertices
|
||||||
// being different!
|
// 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();
|
edges[j] = edges[j].clone().reverse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user