Blender Git Loki
Git Commits -> Revision cbe7471
Revision cbe7471 by Willian Padovani Germano (master) July 3, 2004, 17:28 (GMT) |
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 . |
Commit Details:
Full Hash: cbe7471905bd6f34c00b5d1b6b9cde84f3f24cb4
SVN Revision: 2740
Parent Commit: 5c54369
Lines Changed: +126, -35
12 Modified Paths:
/release/scripts/bevel_center.py (+7, -1) (Diff)
/release/scripts/disp_paint233f.py (+1, -1) (Diff)
/release/scripts/unweld044.py (+1, -1) (Diff)
/source/blender/include/blendef.h (+1, -1) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+1, -1) (Diff)
/source/blender/python/api2_2x/Window.c (+30, -0) (Diff)
/source/blender/python/BPY_extern.h (+1, -0) (Diff)
/source/blender/python/BPY_interface.c (+0, -9) (Diff)
/source/blender/src/header_image.c (+1, -1) (Diff)
/source/blender/src/header_info.c (+0, -4) (Diff)
/source/blender/src/header_script.c (+16, -16) (Diff)
/source/blender/src/header_view3d.c (+67, -0) (Diff)
/release/scripts/disp_paint233f.py (+1, -1) (Diff)
/release/scripts/unweld044.py (+1, -1) (Diff)
/source/blender/include/blendef.h (+1, -1) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+1, -1) (Diff)
/source/blender/python/api2_2x/Window.c (+30, -0) (Diff)
/source/blender/python/BPY_extern.h (+1, -0) (Diff)
/source/blender/python/BPY_interface.c (+0, -9) (Diff)
/source/blender/src/header_image.c (+1, -1) (Diff)
/source/blender/src/header_info.c (+0, -4) (Diff)
/source/blender/src/header_script.c (+16, -16) (Diff)
/source/blender/src/header_view3d.c (+67, -0) (Diff)