Skip to content

Commit 92f0d2a

Browse files
committed
Remove the adjacency if blocks
1 parent 21c8e7d commit 92f0d2a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/geode/model/helpers/component_mesh_edges.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,25 +167,13 @@ namespace geode
167167
{
168168
edges[surface.id()].emplace_back(
169169
std::move( edge.value() ) );
170-
if( auto adj =
171-
mesh.polygon_adjacent_edge( edge.value() ) )
172-
{
173-
edges[surface.id()].emplace_back(
174-
std::move( adj.value() ) );
175-
}
176170
continue;
177171
}
178172
if( auto edge = mesh.polygon_edge_from_vertices(
179173
pair[1], pair[0] ) )
180174
{
181175
edges[surface.id()].emplace_back(
182176
std::move( edge.value() ) );
183-
if( auto adj =
184-
mesh.polygon_adjacent_edge( edge.value() ) )
185-
{
186-
edges[surface.id()].emplace_back(
187-
std::move( adj.value() ) );
188-
}
189177
}
190178
}
191179
}

0 commit comments

Comments
 (0)