Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-18 15:45:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-18 16:00:43 +0300
commitdc8dd24351462e73c5d0260564aad9cd56fd6c33 (patch)
tree1bed91a568c961f5d65ef44e4e8f17c9d9259a27 /source/blender/python/generic/CMakeLists.txt
parent6f087be9f97d6e4b8637b297322438cf23491cae (diff)
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.
Diffstat (limited to 'source/blender/python/generic/CMakeLists.txt')
-rw-r--r--source/blender/python/generic/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/python/generic/CMakeLists.txt b/source/blender/python/generic/CMakeLists.txt
index 3b4182bc795..fa73f161a5d 100644
--- a/source/blender/python/generic/CMakeLists.txt
+++ b/source/blender/python/generic/CMakeLists.txt
@@ -33,7 +33,6 @@ set(INC_SYS
set(SRC
bgl.c
blf_py_api.c
- bpy_internal_import.c
bpy_threads.c
idprop_py_api.c
imbuf_py_api.c
@@ -41,7 +40,6 @@ set(SRC
bgl.h
blf_py_api.h
- bpy_internal_import.h
idprop_py_api.h
imbuf_py_api.h
py_capi_utils.h