From 08b35cda7fb903d4e6cf0f7e6b29024ee536f2b3 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 27 Feb 2012 12:53:23 +0000 Subject: [PATCH] Select edge loop and edge rings operators can't be redone form history menu so registering them seems to be kind of useless because things like deleting edge loops with Shift-R command is impossible. This commit will resolve issue #30375: Loop Select should not become a Redo History Item. --- source/blender/editors/mesh/bmesh_select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/mesh/bmesh_select.c b/source/blender/editors/mesh/bmesh_select.c index d5c7fa45bd2..c57e1aecbbf 100644 --- a/source/blender/editors/mesh/bmesh_select.c +++ b/source/blender/editors/mesh/bmesh_select.c @@ -1080,7 +1080,7 @@ void MESH_OT_loop_select(wmOperatorType *ot) ot->description = "Select a loop of connected edges"; /* flags */ - ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_UNDO; /* properties */ RNA_def_boolean(ot->srna, "extend", 0, "Extend Select", "Extend the selection"); @@ -1099,7 +1099,7 @@ void MESH_OT_edgering_select (wmOperatorType *ot) ot->poll = ED_operator_editmesh_region_view3d; /* flags */ - ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_UNDO; RNA_def_boolean(ot->srna, "extend", 0, "Extend", "Extend the selection"); RNA_def_boolean(ot->srna, "ring", 1, "Select Ring", "Select ring");