diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-07-03 21:28:15 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-07-03 21:28:15 +0400 |
commit | cbe7471905bd6f34c00b5d1b6b9cde84f3f24cb4 (patch) | |
tree | e0a028d26d3cb6939c1ea396242d6f739fe124b0 /source/blender/src/header_info.c | |
parent | 5c543698c9fd5377aee5630ed22a87921593a3ad (diff) |
Interface:
- added submenu "Scripts" in both View3D->Object and Mesh menus.
Put them on top (it's better to follow some guideline, so users don't have to search for "Scripts" submenu in a different position in each menu), feel free to change.
- added button 'previous win' to SpaceScript, makes accessing buttons win, for example, much faster. Maybe all spaces could have this button.
BPython:
- added Window.EditMode(), to check, enter and leave edit mode. Scripts that change mesh data need this to leave edit mode before making changes to the active (G.obedit) mesh, of course.
- updated script bevel_center to use the above function and also popup an error msg if the active obj is not a mesh.
- doc updates, minor fixes.
Forgot to mention in my previous commit that I also updated the "-P" command-line option (for running script files) to be able to run already loaded Blender Texts, too. So, if you have a script called 'Text' in foo.blend, you can run it with blender foo.blend -P Text .
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r-- | source/blender/src/header_info.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index bd537fa3d1b..d483a1b9a50 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -672,7 +672,6 @@ static uiBlock *info_runtime_optionsmenu(void *arg_unused) static void do_info_file_importmenu(void *arg, int event) { - extern int BPY_menu_do_python(short menutype, int event); // BPY_interface.c ScrArea *sa; if(curarea->spacetype==SPACE_INFO) { @@ -738,7 +737,6 @@ static uiBlock *info_file_importmenu(void *arg_unused) static void do_info_file_exportmenu(void *arg, int event) { - extern int BPY_menu_do_python(short menutype, int event); // BPY_interface.c ScrArea *sa; if(curarea->spacetype==SPACE_INFO) { @@ -1590,8 +1588,6 @@ static uiBlock *info_help_websitesmenu(void *arg_unused) static void do_info_helpmenu(void *arg, int event) { - - extern int BPY_menu_do_python(short menutype, int event); // BPY_interface.c ScrArea *sa; if(curarea->spacetype==SPACE_INFO) { |