diff options
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r-- | source/blender/python/BPY_menus.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c index f6220b87d5c..fd1a99a5a50 100644 --- a/source/blender/python/BPY_menus.c +++ b/source/blender/python/BPY_menus.c @@ -97,6 +97,8 @@ static int bpymenu_group_atoi( char *str ) return PYMENU_UV; else if( !strcmp( str, "FaceSelect" ) ) return PYMENU_FACESELECT; + else if( !strcmp( str, "WeightPaint" ) ) + return PYMENU_WEIGHTPAINT; /* "Misc" or an inexistent group name: use misc */ else return PYMENU_MISC; @@ -153,6 +155,9 @@ char *BPyMenu_group_itoa( short menugroup ) case PYMENU_FACESELECT: return "FaceSelect"; break; + case PYMENU_WEIGHTPAINT: + return "WeightPaint"; + break; case PYMENU_MISC: return "Misc"; break; |