Blender Git Loki

Git Commits -> Revision 4c7dc3e

Revision 4c7dc3e by Campbell Barton (master)
November 13, 2009, 09:28 (GMT)
changes python initialization
- bpy is now a python package, this makes it easier to add utility modules and adjust python startup which was previously using verbose Py/C api. Access should not be any slower since both C and Python modules use dictionary access.
- loop over scripts and load via python (currently F8 reload isnt working, will add back shortly)
- the C module is kept but renamed to _bpy and not meant for direct access from anything but the bpy package.
- bpy_types.py is an exception since it runs before the bpy package is initialized.

Commit Details:

Full Hash: 4c7dc3e5c5423ec20ca69841e49718fbae02a22d
SVN Revision: 24543
Parent Commit: d0dff58
Lines Changed: +311, -369

3 Added Paths:

/release/scripts/modules/bpy/ops.py (+197, -0) (View)
/release/scripts/modules/bpy/utils.py (+27, -0) (View)
/release/scripts/modules/bpy/__init__.py (+50, -0) (View)

5 Deleted Paths:

/release/scripts/modules/bpy_ext/Mesh.py (+0, -0)
/release/scripts/modules/bpy_ext/Object.py (+0, -0)
/release/scripts/modules/bpy_ext/__init__.py (+0, -0)
/release/scripts/modules/bpy_ops.py (+0, -194)
/release/scripts/modules/bpy_utils.py (+0, -30)

7 Modified Paths:

/release/scripts/io/netrender/__init__.py (+9, -9) (Diff)
/release/scripts/modules/bpy_types.py (+5, -5) (Diff)
/source/blender/editors/space_script/script_edit.c (+1, -1) (Diff)
/source/blender/python/BPY_extern.h (+1, -3) (Diff)
/source/blender/python/intern/bpy_interface.c (+12, -119) (Diff)
/source/blender/python/intern/stubs.c (+0, -1) (Diff)
/source/creator/creator.c (+9, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021