Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2021-05-12 00:31:43 +0300
committerPablo Dobarro <pablodp606@gmail.com>2021-05-12 00:31:43 +0300
commit0e3475a0ec9f2ccaa56eb8dd2a7358a125750805 (patch)
tree3d3f59bdcf9c148df0fda6093cd59d9bc4523bc5 /source/blender/editors/sculpt_paint/sculpt_expand.c
parente6371491669b37f2f450f715303c66dca9eb7db0 (diff)
Fix wrong loop count in Sculpt Expand code
Introduced when refactoring the function in 8815e3e3303933e2cc662f15fc9d11ca68a47d16
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_expand.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_expand.c2
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`