Animation: Weight Paint select more/less for faces #105607

Merged
Christoph Lendenfeld merged 13 commits from ChrisLend/blender:weight_paint_grow_sel_face into main 2023-03-31 14:53:12 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit f65e124d32 - Show all commits

View File

@ -452,8 +452,8 @@ void paintface_select_less(Mesh *mesh, const bool face_step)
continue;
}
const MPoly &poly = polys[i];
for (const int vert_index : corner_verts.slice(poly.loopstart, poly.totloop)) {
verts_of_unselected_faces[vert_index].set(true);
for (const int vert : corner_verts.slice(poly.loopstart, poly.totloop)) {

vert_index -> vert here too, though I mentioned that in chat

`vert_index` -> `vert` here too, though I mentioned that in chat
verts_of_unselected_faces[vert].set(true);
}
}