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 2ed5bfb commit de8687aCopy full SHA for de8687a
src/geode/mesh/builder/surface_mesh_builder.cpp
@@ -382,7 +382,7 @@ namespace geode
382
{
383
return;
384
}
385
- const auto polygons_around =
+ const auto& polygons_around =
386
surface_mesh_.polygons_around_vertex( old_vertex_id );
387
disassociate_polygon_vertex_to_vertex( old_vertex_id );
388
for( const auto& polygon_around : polygons_around )
@@ -401,6 +401,7 @@ namespace geode
401
402
update_polygon_vertex( polygon_around, new_vertex_id );
403
404
+ reset_polygons_around_vertex( old_vertex_id );
405
406
407
template < index_t dimension >
0 commit comments