Bugfix: [#33513] Transfer weights mixing up.

Removal of this line fixed the bug. 

But!

I suspect it opens up for an excaption.
I will try to identify the exception and handle it in a different way.
This commit is contained in:
Ove Murberg Henriksen
2012-12-15 20:32:32 +00:00
parent 114459e7f6
commit 0ac1424264

View File

@@ -467,7 +467,6 @@ static int ed_vgroup_transfer_weight(Object *ob_dst, Object *ob_src, bDeformGrou
/* Create new and overwrite vertex group on destination without data.*/
if (!defgroup_find_name(ob_dst, dg_src->name)) {
ED_vgroup_delete(ob_dst, defgroup_find_name(ob_dst, dg_src->name));
ED_vgroup_add_name(ob_dst, dg_src->name);
}