Fix #30531: mirror modifier with vertex groups did not add both the left and

right groups to merged vertices, only one. This made the result asymmetric,
now merged vertices will be part of both groups with half weight.
This commit is contained in:
2012-03-19 21:09:16 +00:00
parent 82979d5ab5
commit f18dab65ad
3 changed files with 30 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ void defvert_sync_mapped(struct MDeformVert *dvert_dst, const struct MDeformVert
const int *flip_map, const int flip_map_len, const int use_verify);
void defvert_remap (struct MDeformVert *dvert, int *map, const int map_len);
void defvert_flip(struct MDeformVert *dvert, const int *flip_map, const int flip_map_len);
void defvert_flip_merged(struct MDeformVert *dvert, const int *flip_map, const int flip_map_len);
void defvert_normalize(struct MDeformVert *dvert);
void defvert_normalize_lock(struct MDeformVert *dvert, const int def_nr_lock);