- bug fix: clicking at button "Flip Normals" in button window didn't

display changes in 3dview and data wasn't added to undo stack too
This commit is contained in:
Jiri Hnidek 2005-10-27 16:54:33 +00:00
parent 2d960cea74
commit 0cf61613d9

@ -2988,8 +2988,10 @@ void do_meshbuts(unsigned short event)
case B_FLIPNORM:
if(G.obedit) {
flip_editnormals();
DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
BIF_undo_push("Flip Normals");
allqueue(REDRAWVIEW3D, 0);
}
allqueue(REDRAWVIEW3D, 0);
break;
case B_SLOWERDRAW: