diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-27 06:34:16 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-27 06:34:16 +0300 |
commit | 33dd2f5e0d58427d49f9bdbd3a593af5a9cc6302 (patch) | |
tree | 59fc8dcdd2617c78f6a69dbd88ee578dbe44a63d /source/blender/python/BPY_menus.h | |
parent | d482d34ffb7ec92b63a5ffb1fa3237da720cc928 (diff) |
BPython:
- as proposed by Ton, default dir for menu enabled scripts is:
userhome/.blender/scripts if available or (using bprogname -- argv[0]),
blenderInstallationDir/.blender/scripts/ otherwise.
- moved a piece of code from BPY_interface.c to BPY_menus.c to get rid
of a linkage warning reported by J. Walton
-- added the first scripts to release/scripts:
We need time to get more scripts there, but the situation should improve
consistently from now on. Adding three export scripts: cal3d, directX, ac3d.
And one import: ac3d.
Diffstat (limited to 'source/blender/python/BPY_menus.h')
-rw-r--r-- | source/blender/python/BPY_menus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/BPY_menus.h b/source/blender/python/BPY_menus.h index 682aa929f86..10e32f66b90 100644 --- a/source/blender/python/BPY_menus.h +++ b/source/blender/python/BPY_menus.h @@ -96,5 +96,7 @@ void BPyMenu_RemoveAllEntries(void); void BPyMenu_PrintAllEntries(void); char *BPyMenu_CreatePupmenuStr(BPyMenu *pym, short group); char *BPyMenu_group_itoa (short group); +char *bpymenu_gethome(); +struct BPyMenu *BPyMenu_GetEntry (short group, short pos); #endif /* BPY_MENUS_H */ |