Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-05-12 11:32:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-12 11:32:46 +0400
commitb01e2c4a84ec71ccca28e7a5e5f950eb1a32a7a4 (patch)
tree03a7543d9a3ed2293c77f4d6cfcb7c0eb14c0b48 /source/blender/src/editsima.c
parent3fd357196439798a2663acf7018c1974770ac26f (diff)
swapped the order of the UV snap menu so Cursor->Selection the 4th, as with the 3d view.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index f5cf29528f3..5f8485267bc 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -1217,7 +1217,7 @@ void snap_menu_sima(void)
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 @@ void snap_menu_sima(void)
}
break;
case 4:
- snap_uv_curs_to_pixels();
- scrarea_queue_winredraw(curarea);
- break;
- case 5:
if (snap_uv_curs_to_sel())
allqueue(REDRAWIMAGE, 0);
break;
+ case 5:
+ snap_uv_curs_to_pixels();
+ scrarea_queue_winredraw(curarea);
+ break;
}
}