diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2021-05-12 00:31:43 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2021-05-12 00:31:43 +0300 |
commit | 0e3475a0ec9f2ccaa56eb8dd2a7358a125750805 (patch) | |
tree | 3d3f59bdcf9c148df0fda6093cd59d9bc4523bc5 /source/blender | |
parent | e6371491669b37f2f450f715303c66dca9eb7db0 (diff) |
Fix wrong loop count in Sculpt Expand code
Introduced when refactoring the function in
8815e3e3303933e2cc662f15fc9d11ca68a47d16
Diffstat (limited to 'source/blender')
-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` |