diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-27 16:53:23 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-27 16:53:23 +0400 |
commit | 08b35cda7fb903d4e6cf0f7e6b29024ee536f2b3 (patch) | |
tree | e61630043cb8b03b3caed290a15d006e5f9af2e3 /source/blender/editors/mesh | |
parent | d7f0e29291deab3b7b50decdabc3f57320dbdbaf (diff) |
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.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/bmesh_select.c | 4 |
1 files 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"); |