diff options
Diffstat (limited to 'source/blender/python/BPY_menus.h')
-rw-r--r-- | source/blender/python/BPY_menus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/BPY_menus.h b/source/blender/python/BPY_menus.h index 8451a122f06..4bcb1f90340 100644 --- a/source/blender/python/BPY_menus.h +++ b/source/blender/python/BPY_menus.h @@ -61,6 +61,7 @@ typedef struct BPyMenu { char *name; char *filename; char *tooltip; + short version; /* Blender version */ struct BPySubMenu *submenus; struct BPyMenu *next; } BPyMenu; @@ -89,7 +90,7 @@ typedef enum { BPyMenu *BPyMenuTable[PYMENU_TOTAL]; /* public functions: */ -void BPyMenu_Init(void); +int BPyMenu_Init(int usedir); void BPyMenu_RemoveAllEntries(void); void BPyMenu_PrintAllEntries(void); char *BPyMenu_CreatePupmenuStr(BPyMenu *pym, short group); |