Pulldown Mode select (3d header) failed to enter posemode in editmode,
but only when posemode was already set for armature
This commit is contained in:
Ton Roosendaal 2005-09-12 13:53:40 +00:00
parent 9b46c46dc9
commit d90f3546cb

@ -3842,7 +3842,7 @@ void do_view3d_buttons(short event)
}
else if (G.vd->modeselect == V3D_POSEMODE_SEL) {
if (ob && !(ob->flag & OB_POSEMODE)) {
if (ob) {
G.vd->flag &= ~V3D_MODE;
if(G.obedit) exit_editmode(2); /* exit editmode and undo */