Added "VertexPaint" slot for python menus
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -97,6 +97,7 @@ typedef enum {
|
||||
|
||||
PYMENU_FACESELECT,
|
||||
PYMENU_WEIGHTPAINT,
|
||||
PYMENU_VERTEXPAINT,
|
||||
PYMENU_HELP,/*Main Help menu items - prob best to leave for 'official' ones*/
|
||||
PYMENU_HELPSYSTEM,/* Resources, troubleshooting, system tools */
|
||||
PYMENU_HELPWEBSITES,/* Help -> Websites submenu */
|
||||
|
||||
Reference in New Issue
Block a user