Blender Git Commit Log
Git Commits -> Revision a96ed88
Revision a96ed88 by Willian Padovani Germano (master) March 19, 2005, 06:24 (GMT) |
BPython: - Scripts: fixed error in "Save Current Theme" which prevented it from automatically updating script registration in menus. cosmetic changes in a couple of Campbell's sel_same.py script strings + more descriptive name for its new menu place (3d view, face mode -> select menu). small updates to help_browser.py script. The above changes are related to this: - Added new script menu entries: Render (for exporters to renderers), Themes, FaceSelect (this already at the proper place). Updated Scripts win->Scripts menu so it won't show all available entries, only the ones we mean to see there. - Updated menu registration so that scripts folders can become trees. The release/scripts/ dir should be updated soon with subdirs like converters/, modifiers/, generators/ or whatever -- better discuss first (or is it? /me afraid of long irc discussions during meetings :) ). - Modules: Blender: added 'udatadir' option to .Get() function and added var Blender.mode to tell if Blender is in bg or interactive mode. NMesh: added Campbell's nmesh.transform(matrix, recalc_normals = False) method (reworked, so my fault if it doesn't work). - Bugs fixed: #2123: http://projects.blender.org/tracker/?func=detail&atid=125&aid=2123&group_id=9 Reported by Ken Hughes (thanks!), who also found the exact problem later (it was in Text.Load, not with script links -- if only I had checked emails these days ... lost > 1 hour today to find the problem: passed filename to M_Text_Load was later being written over by a function called by add_text). Also saw that Text.Load wasn't checking existence of passed filename (duh!), now it does. #1655: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1655&group_id=9 Reported by Chris Want (thanks!): command line "blender -P script" not working properly for bg mode ("blender -b blendfile -P script"). Had to make some small updates to get it working (bg mode for scripts was never explicitely handled, it worked due to collateral effects, let's say), interested readers can check the report after I update it or the API_intro.py doc file. After more testing we can make further updates. Updated many places to not call redraws if in bg mode, now it is officially available. Blender outputs its own info when rendering in bg mode, if that is considered a nuissance we'll have to add a few "if (during_script())" calls outside bpython. - Removed a few warnings here and there and also updated docs. |
Commit Details:
Full Hash: a96ed881dc04d0a2ce6ab742f7682042e466b0a7
SVN Revision: 3968
Parent Commit: cbbe236
Lines Changed: +951, -546
24 Modified Paths:
/release/scripts/help_browser.py (+3, -3) (Diff)
/release/scripts/save_theme.py (+8, -9) (Diff)
/release/scripts/sel_same.py (+13, -13) (Diff)
/source/blender/python/api2_2x/Blender.c (+127, -94) (Diff)
/source/blender/python/api2_2x/doc/API_intro.py (+67, -18) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+40, -8) (Diff)
/source/blender/python/api2_2x/doc/NMesh.py (+46, -7) (Diff)
/source/blender/python/api2_2x/doc/Window.py (+11, -3) (Diff)
/source/blender/python/api2_2x/gen_utils.c (+8, -0) (Diff)
/source/blender/python/api2_2x/gen_utils.h (+3, -0) (Diff)
/source/blender/python/api2_2x/Ipo.c (+1, -1) (Diff)
/source/blender/python/api2_2x/NMesh.c (+90, -25) (Diff)
/source/blender/python/api2_2x/sceneRender.c (+67, -35) (Diff)
/source/blender/python/api2_2x/Sound.c (+3, -3) (Diff)
/source/blender/python/api2_2x/Text.c (+26, -25) (Diff)
/source/blender/python/api2_2x/Window.c (+41, -7) (Diff)
/source/blender/python/BPY_extern.h (+2, -2) (Diff)
/source/blender/python/BPY_interface.c (+82, -68) (Diff)
/source/blender/python/BPY_menus.c (+268, -204) (Diff)
/source/blender/python/BPY_menus.h (+22, -12) (Diff)
/source/blender/python/SConscript (+1, -1) (Diff)
/source/blender/src/drawtext.c (+1, -1) (Diff)
/source/blender/src/header_script.c (+4, -5) (Diff)
/source/blender/src/header_view3d.c (+17, -2) (Diff)
/release/scripts/save_theme.py (+8, -9) (Diff)
/release/scripts/sel_same.py (+13, -13) (Diff)
/source/blender/python/api2_2x/Blender.c (+127, -94) (Diff)
/source/blender/python/api2_2x/doc/API_intro.py (+67, -18) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+40, -8) (Diff)
/source/blender/python/api2_2x/doc/NMesh.py (+46, -7) (Diff)
/source/blender/python/api2_2x/doc/Window.py (+11, -3) (Diff)
/source/blender/python/api2_2x/gen_utils.c (+8, -0) (Diff)
/source/blender/python/api2_2x/gen_utils.h (+3, -0) (Diff)
/source/blender/python/api2_2x/Ipo.c (+1, -1) (Diff)
/source/blender/python/api2_2x/NMesh.c (+90, -25) (Diff)
/source/blender/python/api2_2x/sceneRender.c (+67, -35) (Diff)
/source/blender/python/api2_2x/Sound.c (+3, -3) (Diff)
/source/blender/python/api2_2x/Text.c (+26, -25) (Diff)
/source/blender/python/api2_2x/Window.c (+41, -7) (Diff)
/source/blender/python/BPY_extern.h (+2, -2) (Diff)
/source/blender/python/BPY_interface.c (+82, -68) (Diff)
/source/blender/python/BPY_menus.c (+268, -204) (Diff)
/source/blender/python/BPY_menus.h (+22, -12) (Diff)
/source/blender/python/SConscript (+1, -1) (Diff)
/source/blender/src/drawtext.c (+1, -1) (Diff)
/source/blender/src/header_script.c (+4, -5) (Diff)
/source/blender/src/header_view3d.c (+17, -2) (Diff)