diff options
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_mapping.cc')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_mapping.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/mesh_mapping.cc b/source/blender/blenkernel/intern/mesh_mapping.cc index ed4ae94da7f..d289df75371 100644 --- a/source/blender/blenkernel/intern/mesh_mapping.cc +++ b/source/blender/blenkernel/intern/mesh_mapping.cc @@ -262,7 +262,6 @@ void BKE_mesh_vert_loop_map_create(MeshElemMap **r_map, void BKE_mesh_vert_looptri_map_create(MeshElemMap **r_map, int **r_mem, - const MVert * /*mvert*/, const int totvert, const MLoopTri *mlooptri, const int totlooptri, @@ -1021,9 +1020,7 @@ static bool mesh_check_island_boundary_uv(const MPoly * /*mp*/, return (me->flag & ME_SEAM) != 0; } -static bool mesh_calc_islands_loop_poly_uv(const MVert * /*verts*/, - const int /*totvert*/, - const MEdge *edges, +static bool mesh_calc_islands_loop_poly_uv(const MEdge *edges, const int totedge, const MPoly *polys, const int totpoly, @@ -1171,7 +1168,7 @@ static bool mesh_calc_islands_loop_poly_uv(const MVert * /*verts*/, return true; } -bool BKE_mesh_calc_islands_loop_poly_edgeseam(const MVert *verts, +bool BKE_mesh_calc_islands_loop_poly_edgeseam(const float (*positions)[3], const int totvert, const MEdge *edges, const int totedge, @@ -1181,11 +1178,12 @@ bool BKE_mesh_calc_islands_loop_poly_edgeseam(const MVert *verts, const int totloop, MeshIslandStore *r_island_store) { + UNUSED_VARS(positions, totvert); return mesh_calc_islands_loop_poly_uv( - verts, totvert, edges, totedge, polys, totpoly, loops, totloop, nullptr, r_island_store); + edges, totedge, polys, totpoly, loops, totloop, nullptr, r_island_store); } -bool BKE_mesh_calc_islands_loop_poly_uvmap(MVert *verts, +bool BKE_mesh_calc_islands_loop_poly_uvmap(float (*positions)[3], const int totvert, MEdge *edges, const int totedge, @@ -1196,9 +1194,10 @@ bool BKE_mesh_calc_islands_loop_poly_uvmap(MVert *verts, const MLoopUV *luvs, MeshIslandStore *r_island_store) { + UNUSED_VARS(positions, totvert); BLI_assert(luvs != nullptr); return mesh_calc_islands_loop_poly_uv( - verts, totvert, edges, totedge, polys, totpoly, loops, totloop, luvs, r_island_store); + edges, totedge, polys, totpoly, loops, totloop, luvs, r_island_store); } /** \} */ |