We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21fb2f commit 0016419Copy full SHA for 0016419
src/geode/model/helpers/detail/split_along_surface_mesh_borders.cpp
@@ -219,7 +219,19 @@ namespace geode
219
}
220
for( auto& edge : it->second )
221
{
222
- edges.emplace_back( std::move( edge ) );
+ const auto& surface_mesh = surface.mesh();
223
+ const auto& edge_vertices =
224
+ surface_mesh.polygon_edge_vertices( edge );
225
+ edges.emplace_back(
226
+ surface_mesh
227
+ .polygon_edge_from_vertices(
228
+ edge_vertices[0], edge_vertices[1] )
229
+ .value() );
230
231
232
233
+ edge_vertices[1], edge_vertices[0] )
234
235
236
237
0 commit comments