Blender Git Commit Log
Git Commits -> Revision dc8dd24
Revision dc8dd24 by Campbell Barton (master) April 18, 2019, 13:00 (GMT) |
PyAPI: remove support for importing text blocks as modules Allowing direct import of text blocks isn't especially useful, instead add `text.as_module()` script authors can do this explicitly if it's needed. Now the text "Register" option executes instead of loading as a module. This removes the need to keep track of the current Main, and C code to override Python's import & reload. |
Commit Details:
Full Hash: dc8dd24351462e73c5d0260564aad9cd56fd6c33
Parent Commit: 6f087be
Lines Changed: +19, -458
2 Deleted Paths:
/source/blender/python/generic/bpy_internal_import.c (+0, -375)
/source/blender/python/generic/bpy_internal_import.h (+0, -50)
/source/blender/python/generic/bpy_internal_import.h (+0, -50)
6 Modified Paths:
/release/scripts/modules/bpy_types.py (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_text.c (+1, -3) (Diff)
/source/blender/python/generic/CMakeLists.txt (+0, -2) (Diff)
/source/blender/python/intern/bpy_interface.c (+9, -23) (Diff)
/source/blender/python/intern/bpy_operator.c (+0, -4) (Diff)
/source/blender/python/intern/stubs.c (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_text.c (+1, -3) (Diff)
/source/blender/python/generic/CMakeLists.txt (+0, -2) (Diff)
/source/blender/python/intern/bpy_interface.c (+9, -23) (Diff)
/source/blender/python/intern/bpy_operator.c (+0, -4) (Diff)
/source/blender/python/intern/stubs.c (+0, -1) (Diff)