From ab2af187e6387944be47d784e540b6fb9e485314 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Fri, 3 Aug 2012 22:03:24 -0400 Subject: [PATCH] dramatically improved efficiency of cut/undo cut --- src/g_editor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/g_editor.c b/src/g_editor.c index ca4551e06..c75d09383 100644 --- a/src/g_editor.c +++ b/src/g_editor.c @@ -803,10 +803,9 @@ void canvas_undo_cut(t_canvas *x, void *z, int action) y->g_next = y_next; } } - canvas_redraw(x); - glob_preset_node_list_check_loc_and_update(); - } + canvas_redraw(x); + glob_preset_node_list_check_loc_and_update(); } } else if (action == UNDO_REDO) -- GitLab