From a78683f08e1abd00f59c80d4a01c2cbc8bbf84df Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Fri, 19 Jan 2007 01:32:47 +0000 Subject: [PATCH] Partial fix for bug #5749, Modifier redraw problems. The mesh wasn't being flushed properly to show updates when auto creating faces; also added missing undo push and view refresh. --- source/blender/src/editmesh_add.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c index e056e61cea5..d295236ca04 100644 --- a/source/blender/src/editmesh_add.c +++ b/source/blender/src/editmesh_add.c @@ -638,6 +638,10 @@ void addfaces_from_edgenet() countall(); EM_select_flush(); + + BIF_undo_push("Add faces"); + allqueue(REDRAWVIEW3D, 0); + DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA); } void addedgeface_mesh(void)