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
path: root/source
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2013-05-26 21:34:03 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2013-05-26 21:34:03 +0400
commitadd5167b8d488a89712730926cbfbf8ec01a862f (patch)
tree6c3eef35dcfd8cfe4f60cd45988153499ac50798 /source
parent2efe0f6733509bf4df7c8118f210a8e3db7d0784 (diff)
Fixed own error: used wrong iteration count for cleaning weight groups
Diffstat (limited to 'source')
-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--) {