[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41058] branches/bmesh/blender/source/ blender/editors/uvedit/uvedit_unwrap_ops.c: Fix an assert when trying to unwrap with nothing selected

Andrew Wiggin ender79bl at gmail.com
Sun Oct 16 17:44:59 CEST 2011


Revision: 41058
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41058
Author:   ender79
Date:     2011-10-16 15:44:58 +0000 (Sun, 16 Oct 2011)
Log Message:
-----------
Fix an assert when trying to unwrap with nothing selected

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c

Modified: branches/bmesh/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c	2011-10-16 15:01:13 UTC (rev 41057)
+++ branches/bmesh/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c	2011-10-16 15:44:58 UTC (rev 41058)
@@ -968,7 +968,7 @@
 	short implicit= 0;
 
 	if(!uvedit_have_selection(scene, em, implicit)) {
-		return 0;
+		return OPERATOR_CANCELLED;
 	}
 	
 	/* add uvs if they don't exist yet */




More information about the Bf-blender-cvs mailing list