[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44482] trunk/blender/source/blender/ editors/mesh/bmesh_select.c: Select edge loop and edge rings operators can' t be redone form history menu

Sergey Sharybin sergey.vfx at gmail.com
Mon Feb 27 13:53:23 CET 2012


Revision: 44482
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44482
Author:   nazgul
Date:     2012-02-27 12:53:23 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/bmesh_select.c

Modified: trunk/blender/source/blender/editors/mesh/bmesh_select.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/bmesh_select.c	2012-02-27 12:48:06 UTC (rev 44481)
+++ trunk/blender/source/blender/editors/mesh/bmesh_select.c	2012-02-27 12:53:23 UTC (rev 44482)
@@ -1080,7 +1080,7 @@
 	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 @@
 	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");




More information about the Bf-blender-cvs mailing list