[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45883] trunk/blender/source/blender/ editors/mesh/editmesh_rip.c: rip was incorrectly giving an error when ripping a vertex from a face fan (own mistake).

Campbell Barton ideasman42 at gmail.com
Mon Apr 23 16:57:47 CEST 2012


Revision: 45883
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45883
Author:   campbellbarton
Date:     2012-04-23 14:57:47 +0000 (Mon, 23 Apr 2012)
Log Message:
-----------
rip was incorrectly giving an error when ripping a vertex from a face fan (own mistake).

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

Modified: trunk/blender/source/blender/editors/mesh/editmesh_rip.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_rip.c	2012-04-23 14:52:28 UTC (rev 45882)
+++ trunk/blender/source/blender/editors/mesh/editmesh_rip.c	2012-04-23 14:57:47 UTC (rev 45883)
@@ -726,7 +726,7 @@
 
 	EDBM_selectmode_flush(em);
 
-	if (totedge_orig == bm->totedge) {
+	if ((singlesel == FALSE) && (totedge_orig == bm->totedge)) {
 		BKE_report(op->reports, RPT_ERROR, "No edges could be ripped");
 		return OPERATOR_CANCELLED;
 	}




More information about the Bf-blender-cvs mailing list