forked from bartvdbraak/blender
- 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:
parent
2d960cea74
commit
0cf61613d9
@ -2988,8 +2988,10 @@ void do_meshbuts(unsigned short event)
|
|||||||
case B_FLIPNORM:
|
case B_FLIPNORM:
|
||||||
if(G.obedit) {
|
if(G.obedit) {
|
||||||
flip_editnormals();
|
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;
|
break;
|
||||||
|
|
||||||
case B_SLOWERDRAW:
|
case B_SLOWERDRAW:
|
||||||
|
Loading…
Reference in New Issue
Block a user