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>2006-05-07 17:09:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-05-07 17:09:29 +0400
commitbb52e70c8a3688263af01bc9d2eda3d5e5f077bc (patch)
tree4db5bcc8e295c15a68bffad74aa3ebd5155a9ec3 /source/blender/python/BPY_menus.c
parent390380e97b67b846bd05046b0a93aeae488ce677 (diff)
Added "VertexPaint" slot for python menus
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r--source/blender/python/BPY_menus.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c
index fd1a99a5a50..13fbd5d6f80 100644
--- a/source/blender/python/BPY_menus.c
+++ b/source/blender/python/BPY_menus.c
@@ -99,6 +99,8 @@ static int bpymenu_group_atoi( char *str )
return PYMENU_FACESELECT;
else if( !strcmp( str, "WeightPaint" ) )
return PYMENU_WEIGHTPAINT;
+ else if( !strcmp( str, "VertexPaint" ) )
+ return PYMENU_VERTEXPAINT;
/* "Misc" or an inexistent group name: use misc */
else
return PYMENU_MISC;
@@ -158,6 +160,9 @@ char *BPyMenu_group_itoa( short menugroup )
case PYMENU_WEIGHTPAINT:
return "WeightPaint";
break;
+ case PYMENU_VERTEXPAINT:
+ return "VertexPaint";
+ break;
case PYMENU_MISC:
return "Misc";
break;