Fix: when using in WeightPaint the Wkey option for the first time (no
vertex groups yet on Mesh), the undobuffer for Wpaint got corrupt.
This commit is contained in:
@@ -1958,7 +1958,7 @@ void special_editmenu(void)
|
||||
nr= pupmenu("Specials%t|Apply Bone Envelopes to VertexGroups %x1");
|
||||
if(nr==1) {
|
||||
Mesh *me= ob->data;
|
||||
copy_wpaint_undo(me->dvert, me->totvert);
|
||||
if(me->dvert) copy_wpaint_undo(me->dvert, me->totvert);
|
||||
pose_adds_vgroups(ob);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user