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:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-06-07 05:34:15 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2004-06-07 05:34:15 +0400
commitb82be27659f19b2916e0744a881ef7659f232ade (patch)
tree8fd59e27a0a346d28df1c8f522d13df4c1548dc6 /source/blender/python/BPY_menus.c
parent372636c116b30adf8494bc035e1d6521e519fcd4 (diff)
Bundled scripts:
-starting updates and new additions for Blender 2.34: Some of the new scripts require Python modules not builtin with Blender, so you either need a full Python install or the needed extra modules. This is an ongoing work, there should be more scripts, better testing and also proper ways to tell users they don't have all expected modules. It's expected that Win users won't need full Python installs, since we can provide a minimal zip with the needed modules from 2.34 on. Thanks to Anthony D'Agostino (scorpius), Jean-Michel Soler (jms) and Campbell Barton (Cam / ideasman) for donating the scripts now added / updated. BPython: -added two new script menu groups: Tools and Utils. We still need to find places elsewhere in the gui where the groups can be put.
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r--source/blender/python/BPY_menus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c
index f2879f654c1..f43b5852a32 100644
--- a/source/blender/python/BPY_menus.c
+++ b/source/blender/python/BPY_menus.c
@@ -83,6 +83,8 @@ static int bpymenu_group_atoi (char *str)
else if (!strcmp(str, "Animation")) return PYMENU_ANIMATION;
else if (!strcmp(str, "Materials")) return PYMENU_MATERIALS;
else if (!strcmp(str, "UV")) return PYMENU_UV;
+ else if (!strcmp(str, "Utils")) return PYMENU_UTILS;
+ else if (!strcmp(str, "Tools")) return PYMENU_TOOLS;
/* "Misc" or an inexistent group name: use misc */
else return PYMENU_MISC;
}
@@ -113,6 +115,10 @@ char *BPyMenu_group_itoa (short menugroup)
break;
case PYMENU_UV:
return "UV";
+ case PYMENU_UTILS:
+ return "Utils";
+ case PYMENU_TOOLS:
+ return "Tools";
case PYMENU_MISC:
return "Misc";
break;