fix for confusion switching active group when running mirror (would swich back when toggling editmode if a pose bone was selected).

This commit is contained in:
Campbell Barton 2013-05-29 01:28:55 +00:00
parent 7c97a95911
commit e99801dc70

@ -2282,9 +2282,12 @@ void ED_vgroup_mirror(Object *ob,
}
}
/* disabled, confusing when you have an active pose bone */
#if 0
/* flip active group index */
if (flip_vgroups && flip_map[def_nr] >= 0)
ob->actdef = flip_map[def_nr] + 1;
#endif
cleanup:
if (flip_map) MEM_freeN(flip_map);