Refactor: Weight Paint Select Linked Faces #104577

Merged
Christoph Lendenfeld merged 15 commits from ChrisLend/blender:weight_paint_refactor_face_select into main 2023-02-23 08:26:44 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b36d7710bb - Show all commits

View File

@ -289,7 +289,7 @@ static void paintface_select_linked_faces(Mesh &mesh,
threading::parallel_for(select_poly.span.index_range(), 1024, [&](const IndexRange range) {
for (const int poly_index : range) {
MPoly poly = polys[poly_index];
const MPoly &poly = polys[poly_index];
for (const MLoop &loop : loops.slice(poly.loopstart, poly.totloop)) {
const int root = islands.find_root(loop.e);
if (selected_roots.contains(root)) {