From 0cf61613d9d329535cf965fd5bdd455736043c8e Mon Sep 17 00:00:00 2001 From: Jiri Hnidek Date: Thu, 27 Oct 2005 16:54:33 +0000 Subject: [PATCH] - 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 --- source/blender/src/buttons_editing.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index cc3aea42238..5fb2066836d 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -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: