Fix InsertIntoSet implementation of HalfEdge

This commit is contained in:
Hanno Braun 2023-08-18 11:17:49 +02:00
parent a4a9c234be
commit 5bb29cedb7

View File

@ -96,6 +96,9 @@ impl InsertIntoSet for GlobalEdge {
impl InsertIntoSet for HalfEdge { impl InsertIntoSet for HalfEdge {
fn insert_into_set(&self, objects: &mut ObjectSet) { fn insert_into_set(&self, objects: &mut ObjectSet) {
objects.inner.insert(self.curve().clone().into());
self.curve().insert_into_set(objects);
objects.inner.insert(self.start_vertex().clone().into()); objects.inner.insert(self.start_vertex().clone().into());
self.start_vertex().insert_into_set(objects); self.start_vertex().insert_into_set(objects);