Blender Git Loki
Git Commits -> Revision 9282827
Revision 9282827 by Willian Padovani Germano (master) July 3, 2004, 05:17 (GMT) |
New scripts: - hotkeys, obdatacopier and renameobjectbyblock, all from Jean-Michel Soler (jms); - bevel_center by Loic Berthe, suggested for inclusion by jms; - doc_browser, by Daniel Dunbar (Zr) Thanks to them for the new contributions! (I included doc_browser at 'Misc' because only users interested in script writing would actually use it, but it could also be under 'Help'. Opinions?) BPython related: - Added scriptlink methods to object, lamp, camera and world. - Object: added object.makeTrack and object.clearTrack (old track method). - sys: made sys.exists(path) return 0 for not found; 1 for file, 2 for dir and -1 for neither. - doc updates and fixes. - made ONLOAD event work. G.f's SCENESCRIPT bit was being zeroed in set_app_data. - Blender: updated functions Load and Save to support the builtin importers and exporters besides .blend (dxf, videoscape, vrml 1.0, stl, ...) - Draw: added mouse wheel events. - Scene: added scene.play to play back animations (like ALT+A and SHIFT+ALT+A). Makes a good counter, too, when the 'win' attribute is set to a space that doesn't "animate". The scene.play() addition and the fix to ONLOAD scriptlinks is part of the work for a Blender demo mode. It already works, but I'll still add support for Radiosity calculations and fix a thing in main(): it executes onload scripts too early (BIF_Init), giving funny results in alt+a animations and renderings when firing up Blender. Loading after the program is up has no such problems. When I finish I'll post examples of demo mode scripts. |
Commit Details:
Full Hash: 928282772051eadd29b26a43b4c217ebf06d0ba9
SVN Revision: 2738
Parent Commit: 90d4f7a
Lines Changed: +2778, -476
5 Added Paths:
/release/scripts/bevel_center.py (+462, -0) (View)
/release/scripts/doc_browser.py (+425, -0) (View)
/release/scripts/hotkeys.py (+438, -0) (View)
/release/scripts/obdatacopier.py (+142, -0) (View)
/release/scripts/renameobjectbyblock.py (+173, -0) (View)
/release/scripts/doc_browser.py (+425, -0) (View)
/release/scripts/hotkeys.py (+438, -0) (View)
/release/scripts/obdatacopier.py (+142, -0) (View)
/release/scripts/renameobjectbyblock.py (+173, -0) (View)
29 Modified Paths:
/release/scripts/ac3d_export.py (+28, -15) (Diff)
/source/blender/blenkernel/intern/blender.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/exotic.c (+17, -13) (Diff)
/source/blender/python/api2_2x/Blender.c (+84, -25) (Diff)
/source/blender/python/api2_2x/Camera.c (+51, -0) (Diff)
/source/blender/python/api2_2x/doc/BGL.py (+26, -15) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+46, -19) (Diff)
/source/blender/python/api2_2x/doc/Camera.py (+28, -0) (Diff)
/source/blender/python/api2_2x/doc/Draw.py (+1, -1) (Diff)
/source/blender/python/api2_2x/doc/Image.py (+2, -0) (Diff)
/source/blender/python/api2_2x/doc/Lamp.py (+28, -0) (Diff)
/source/blender/python/api2_2x/doc/Mathutils.py (+68, -54) (Diff)
/source/blender/python/api2_2x/doc/Object.py (+56, -1) (Diff)
/source/blender/python/api2_2x/doc/Scene.py (+22, -1) (Diff)
/source/blender/python/api2_2x/doc/Sys.py (+7, -3) (Diff)
/source/blender/python/api2_2x/doc/Window.py (+7, -6) (Diff)
/source/blender/python/api2_2x/doc/World.py (+38, -9) (Diff)
/source/blender/python/api2_2x/Draw.c (+6, -3) (Diff)
/source/blender/python/api2_2x/Lamp.c (+302, -1) (Diff)
/source/blender/python/api2_2x/Lamp.h (+0, -252) (Diff)
/source/blender/python/api2_2x/Object.c (+119, -13) (Diff)
/source/blender/python/api2_2x/Scene.c (+73, -0) (Diff)
/source/blender/python/api2_2x/Sys.c (+16, -6) (Diff)
/source/blender/python/api2_2x/World.c (+37, -0) (Diff)
/source/blender/python/api2_2x/World.h (+14, -1) (Diff)
/source/blender/python/BPY_interface.c (+28, -16) (Diff)
/source/blender/src/drawtext.c (+14, -8) (Diff)
/source/blender/src/drawview.c (+7, -2) (Diff)
/source/creator/creator.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/blender.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/exotic.c (+17, -13) (Diff)
/source/blender/python/api2_2x/Blender.c (+84, -25) (Diff)
/source/blender/python/api2_2x/Camera.c (+51, -0) (Diff)
/source/blender/python/api2_2x/doc/BGL.py (+26, -15) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+46, -19) (Diff)
/source/blender/python/api2_2x/doc/Camera.py (+28, -0) (Diff)
/source/blender/python/api2_2x/doc/Draw.py (+1, -1) (Diff)
/source/blender/python/api2_2x/doc/Image.py (+2, -0) (Diff)
/source/blender/python/api2_2x/doc/Lamp.py (+28, -0) (Diff)
/source/blender/python/api2_2x/doc/Mathutils.py (+68, -54) (Diff)
/source/blender/python/api2_2x/doc/Object.py (+56, -1) (Diff)
/source/blender/python/api2_2x/doc/Scene.py (+22, -1) (Diff)
/source/blender/python/api2_2x/doc/Sys.py (+7, -3) (Diff)
/source/blender/python/api2_2x/doc/Window.py (+7, -6) (Diff)
/source/blender/python/api2_2x/doc/World.py (+38, -9) (Diff)
/source/blender/python/api2_2x/Draw.c (+6, -3) (Diff)
/source/blender/python/api2_2x/Lamp.c (+302, -1) (Diff)
/source/blender/python/api2_2x/Lamp.h (+0, -252) (Diff)
/source/blender/python/api2_2x/Object.c (+119, -13) (Diff)
/source/blender/python/api2_2x/Scene.c (+73, -0) (Diff)
/source/blender/python/api2_2x/Sys.c (+16, -6) (Diff)
/source/blender/python/api2_2x/World.c (+37, -0) (Diff)
/source/blender/python/api2_2x/World.h (+14, -1) (Diff)
/source/blender/python/BPY_interface.c (+28, -16) (Diff)
/source/blender/src/drawtext.c (+14, -8) (Diff)
/source/blender/src/drawview.c (+7, -2) (Diff)
/source/creator/creator.c (+11, -11) (Diff)