Fix wrong loop count in Sculpt Expand code
Introduced when refactoring the function in
8815e3e330
This commit is contained in:
parent
e637149166
commit
0e3475a0ec
|
@ -1898,7 +1898,7 @@ static void sculpt_expand_delete_face_set_id(int *r_face_sets,
|
|||
Mesh *mesh,
|
||||
const int delete_id)
|
||||
{
|
||||
const int totface = ss->totvert;
|
||||
const int totface = ss->totfaces;
|
||||
MeshElemMap *pmap = ss->pmap;
|
||||
|
||||
/* Check that all the face sets IDs in the mesh are not equal to `delete_id`
|
||||
|
|
Loading…
Reference in New Issue