diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-20 07:57:47 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-20 07:57:47 +0300 |
commit | 57b91ddce887e097b1f1c7ca5f502c0ec2ffa084 (patch) | |
tree | fea0979d6e5df04c704a8c027a29dc1ec97ac689 /source/blender/python/BPY_menus.h | |
parent | 32fa24339e31c12edfafe72682d8b0705f8a2f97 (diff) |
Scripts in menus:
- now the file .Bpymenus is in ~/.blender/, please delete the old one
- both ~/.blender/scripts/ and (if set) user pref scripts dir are scanned for scripts
- 2 scripts of the same group with the same name, one in each dir: user pref overwrites the other's entry
- fixed the problem with trailing backslash, was my fault (used NULL instead of "/" for relbase in BLI_make_file_string
- slightly changed msgs to be less verbose and parsing to be more forgiving
- if a script registers with a wrong group, 'Misc' is used instead
- 'Blender' tag is now checked, gives a warning (notice) msg if script is newer than Blender program
Blender.NMesh module and doc:
- added vertex.sel var to get/set selection state of vertex.
Diffstat (limited to 'source/blender/python/BPY_menus.h')
-rw-r--r-- | source/blender/python/BPY_menus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_menus.h b/source/blender/python/BPY_menus.h index 4bcb1f90340..ffeee746b8a 100644 --- a/source/blender/python/BPY_menus.h +++ b/source/blender/python/BPY_menus.h @@ -62,6 +62,7 @@ typedef struct BPyMenu { char *filename; char *tooltip; short version; /* Blender version */ + int dir; /* 0: default, 1: U.pythondir */ struct BPySubMenu *submenus; struct BPyMenu *next; } BPyMenu; |