From f13dc2aac1d83a5c6636aa1cacef9d27cdac05d5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Mar 2008 09:33:18 +0000 Subject: [PATCH] snap menu order change, as suggested by Theeth, fix for own error with Window.TestBreak() --- source/blender/python/api2_2x/Window.c | 2 +- source/blender/src/edit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/python/api2_2x/Window.c b/source/blender/python/api2_2x/Window.c index 2a2336c101c..46f696b2c74 100644 --- a/source/blender/python/api2_2x/Window.c +++ b/source/blender/python/api2_2x/Window.c @@ -377,7 +377,7 @@ struct PyMethodDef M_Window_methods[] = { M_Window_QAdd_doc}, {"QHandle", ( PyCFunction ) M_Window_QHandle, METH_VARARGS, M_Window_QHandle_doc}, - {"TestBreak", ( PyCFunction ) M_Window_TestBreak, METH_VARARGS, + {"TestBreak", ( PyCFunction ) M_Window_TestBreak, METH_NOARGS, M_Window_TestBreak_doc}, {"GetMouseCoords", ( PyCFunction ) M_Window_GetMouseCoords, METH_NOARGS, diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c index 8d609514a1b..b78131ec2ea 100644 --- a/source/blender/src/edit.c +++ b/source/blender/src/edit.c @@ -1828,7 +1828,7 @@ void snapmenu() { short event; - event = pupmenu("Snap %t|Selection -> Grid%x1|Selection -> Cursor%x2|Cursor -> Grid%x3|Cursor -> Selection%x4|Selection -> Center%x5|Cursor -> Active%x6"); + event = pupmenu("Snap %t|Selection -> Grid%x1|Selection -> Cursor%x2|Selection -> Center%x5|%l|Cursor -> Selection%x4|Cursor -> Grid%x3|Cursor -> Active%x6"); switch (event) { case 1: /*Selection to grid*/