=Armature Undo Fix=

Armature undo was incomplete; no less then 6 places needed undo pushes.
Added undo pushes, and made sure deselectall_armature/posearmature played nice
and only did undo pushes when they're called with AKEY.

This seems like a fairly old issue.  I guess people just didn't notice it enough
to file a bug report. :)
This commit is contained in:
2007-02-10 19:07:47 +00:00
parent 8e837d6f86
commit fd05f23dce
5 changed files with 32 additions and 18 deletions

View File

@@ -1556,10 +1556,10 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else if(G.obedit->type==OB_LATTICE)
deselectall_Latt();
else if(G.obedit->type==OB_ARMATURE)
deselectall_armature(1); /* 1 == toggle */
deselectall_armature(1, 1); /* 1 == toggle */
}
else if (ob && (ob->flag & OB_POSEMODE)){
deselectall_posearmature(ob, 1);
deselectall_posearmature(ob, 1, 1);
}
else {
if(G.f & G_FACESELECT) deselectall_tface();