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:
2005-09-09 15:38:20 +00:00
parent 55dd39f9fa
commit 0c78232ced

View File

@@ -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);
}
}