diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-13 12:28:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-13 12:28:05 +0300 |
commit | 4c7dc3e5c5423ec20ca69841e49718fbae02a22d (patch) | |
tree | 0b3cb4e7d642c40d2ce5cc8f5cf941cc08d4af44 /source/blender/editors/space_script/script_edit.c | |
parent | d0dff582a88da396234fc913f8ed35f275d6c34d (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_script/script_edit.c')
-rw-r--r-- | source/blender/editors/space_script/script_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c index df6f932acdf..630ea752f22 100644 --- a/source/blender/editors/space_script/script_edit.c +++ b/source/blender/editors/space_script/script_edit.c @@ -92,7 +92,7 @@ void SCRIPT_OT_python_file_run(wmOperatorType *ot) static int run_ui_scripts_exec(bContext *C, wmOperator *op) { #ifndef DISABLE_PYTHON - BPY_run_ui_scripts(C, 1); /* reload */ +// TODO #endif return OPERATOR_FINISHED; } |