diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_expand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_expand.c b/source/blender/editors/sculpt_paint/sculpt_expand.c index e6259ebecb7..2de7d5d72cc 100644 --- a/source/blender/editors/sculpt_paint/sculpt_expand.c +++ b/source/blender/editors/sculpt_paint/sculpt_expand.c @@ -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` |