Fix wrong loop count in Sculpt Expand code

Introduced when refactoring the function in
8815e3e330
This commit is contained in:
Pablo Dobarro 2021-05-11 23:31:43 +02:00
parent e637149166
commit 0e3475a0ec
1 changed files with 1 additions and 1 deletions

View File

@ -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`