From 6181a5ad4102df5830c117cc53f7b12d28b7ea74 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 24 Oct 2005 09:00:33 +0000 Subject: [PATCH] Bugfix (based on user mailing me): In editmode, "remove doubles" crashes when it uses subsurf display. Was missing a DAG update. --- source/blender/src/buttons_editing.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index c774b50d30e..5d4f0ad3dde 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -3008,6 +3008,7 @@ void do_meshbuts(unsigned short event) break; case B_REMDOUB: notice("Removed: %d", removedoublesflag(1, G.scene->toolsettings->doublimit)); + DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); allqueue(REDRAWVIEW3D, 0); BIF_undo_push("Rem Doubles"); break;