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-01-17 02:40:14 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2004-01-17 02:40:14 +0300
commitf3c5206b717a9b2d6b78344e92277f6f58f24229 (patch)
tree6b0f3d73370366946eb8b5741c53355d68d8af0a /source/blender/python/BPY_menus.h
parent24c43b835d48de0c02ced5160d0d0831bc5cb55e (diff)
Scripts menus:
-- added re-eval entry to Scripts Win -> Scripts menu -- added it also as a button at Info Win -> File Paths, Python path -- updated bpymenus code: added 'Blender' tag, for version; made a .Bpymenus file be written only if there's actual data to save made file->export menu open a scriptspace only if none is available already -- bug fixes (bugs 866 and 879, related) for linking and sharing mesh data: http://projects.blender.org/tracker/?func=detail&atid=125&aid=866&group_id=9 http://projects.blender.org/tracker/?func=detail&atid=125&aid=879&group_id=9
Diffstat (limited to 'source/blender/python/BPY_menus.h')
-rw-r--r--source/blender/python/BPY_menus.h3
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);