diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-23 05:59:54 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-23 05:59:54 +0300 |
commit | 5d8c7e453746e0114caddb5a5cb11cdac6f5ed3b (patch) | |
tree | 93b00e5ca2be30352f69fb7239f25e08d3dec8ae /source/blender/python/BPY_menus.h | |
parent | f237bb28bf8558a360dbfe03a52dfbce863dbdd8 (diff) |
BPython:
- local tentative fix for BLI_gethome(), which returns '.blender' appended only
on some Windows systems. Created bpymenu_gethome() to check and
add '.blender' if needed.
- changed name: .Bpymenus to Bpymenus as suggested by GSR
- trivial additions:
Object module: added methods .set/getSize
Armature/Bone module: bone.set???() methods now accept both n
floats or a list of n floats: fff or (fff). All these additions were requested
by user Carlos Lopez (Klopes).
- New doc: for module Registry.
Diffstat (limited to 'source/blender/python/BPY_menus.h')
-rw-r--r-- | source/blender/python/BPY_menus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/BPY_menus.h b/source/blender/python/BPY_menus.h index ffeee746b8a..682aa929f86 100644 --- a/source/blender/python/BPY_menus.h +++ b/source/blender/python/BPY_menus.h @@ -88,7 +88,7 @@ typedef enum { /* BPyMenuTable holds all registered pymenus, as linked lists for each menu * where they can appear (see PYMENUHOOKS enum above). */ -BPyMenu *BPyMenuTable[PYMENU_TOTAL]; +extern BPyMenu *BPyMenuTable[]; /* defined in BPY_menus.c */ /* public functions: */ int BPyMenu_Init(int usedir); |