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:
-rw-r--r--source/blender/editors/object/object_vgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c
index 8ecd9cb1dec..9e3f4a66e4d 100644
--- a/source/blender/editors/object/object_vgroup.c
+++ b/source/blender/editors/object/object_vgroup.c
@@ -2026,7 +2026,7 @@ static void vgroup_clean_subset(Object *ob, const bool *vgroup_validmap, const i
continue;
}
- j = vgroup_tot;
+ j = dv->totweight;
while (j--) {