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:
authorJiri Hnidek <jiri.hnidek@tul.cz>2007-06-08 18:17:13 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2007-06-08 18:17:13 +0400
commitd1711b39729230aeb09f824a44c9303eb07d9363 (patch)
tree5d0f898c96d1087fe5e79cf08c5db93003535187 /source/blender/src/toolbox.c
parentdc8a10bf58f7393923dc075bc9d707f8fddc9e3d (diff)
Patch [#6729] from Juho Vepsäläinen. It adds inverse and random select for metaelems. I simplified random select a little.
Diffstat (limited to 'source/blender/src/toolbox.c')
-rw-r--r--source/blender/src/toolbox.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c
index 15193c1b460..1ef328272d6 100644
--- a/source/blender/src/toolbox.c
+++ b/source/blender/src/toolbox.c
@@ -960,6 +960,15 @@ static TBitem tb_curve_select[]= {
{ 0, "Less|Ctrl NumPad -", 10, NULL},
{ -1, "", 0, do_view3d_select_curvemenu}};
+static TBitem tb_mball_select[]= {
+{ 0, "Border Select|B", 0, NULL},
+{ 0, "SEPR", 0, NULL},
+{ 0, "(De)select All|A", 2, NULL},
+{ 0, "Inverse", 3, NULL},
+{ 0, "SEPR", 0, NULL},
+{ 0, "Random...", 4, NULL},
+{ -1, "", 0, do_view3d_select_metaballmenu}};
+
static TBitem tb__select[]= {
{ 0, "Border Select|B", 'b', NULL},
{ 0, "(De)select All|A", 'a', NULL},
@@ -2019,7 +2028,7 @@ void toolbox_n(void)
case OB_MBALL:
menu1= addmenu_meta;
menu2= tb_edit;
- menu3= tb__select;
+ menu3= tb_mball_select;
menu4= tb_transform_editmode2;
menu5= tb_obdata; str5= "Meta";
break;