[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14808] trunk/blender/source/blender/src/ editsima.c: swapped the order of the UV snap menu so Cursor-> Selection the 4th, as with the 3d view.

Campbell Barton ideasman42 at gmail.com
Mon May 12 09:32:46 CEST 2008


Revision: 14808
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14808
Author:   campbellbarton
Date:     2008-05-12 09:32:46 +0200 (Mon, 12 May 2008)

Log Message:
-----------
swapped the order of the UV snap menu so Cursor->Selection the 4th, as with the 3d view.

Modified Paths:
--------------
    trunk/blender/source/blender/src/editsima.c

Modified: trunk/blender/source/blender/src/editsima.c
===================================================================
--- trunk/blender/source/blender/src/editsima.c	2008-05-12 04:25:53 UTC (rev 14807)
+++ trunk/blender/source/blender/src/editsima.c	2008-05-12 07:32:46 UTC (rev 14808)
@@ -1217,7 +1217,7 @@
 	short event;
 	if( is_uv_tface_editing_allowed()==0 || !G.v2d) return; /* !G.v2d should never happen */
 	
-	event = pupmenu("Snap %t|Selection -> Pixels%x1|Selection -> Cursor%x2|Selection -> Adjacent Unselected%x3|Cursor -> Pixel%x4|Cursor -> Selection%x5");
+	event = pupmenu("Snap %t|Selection -> Pixels%x1|Selection -> Cursor%x2|Selection -> Adjacent Unselected%x3|Cursor -> Selection%x4|Cursor -> Pixel%x5");
 	switch (event) {
 		case 1:
 		    if (snap_uv_sel_to_pixels()) {
@@ -1238,13 +1238,13 @@
 		    }
 		    break;
 		case 4:
+		    if (snap_uv_curs_to_sel())
+		    	allqueue(REDRAWIMAGE, 0);
+		    break;
+		case 5:
 		    snap_uv_curs_to_pixels();
 		    scrarea_queue_winredraw(curarea);
 		    break;
-		case 5:
-		    if (snap_uv_curs_to_sel())
-		    	allqueue(REDRAWIMAGE, 0);
-		    break;
 	}
 }
 





More information about the Bf-blender-cvs mailing list