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>2021-05-12 15:01:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-05-12 15:02:18 +0300
commit44db4e50b245041ea250bef4e525e658e83403cb (patch)
tree2a1022a0ea7c262255a3e6e3ba82f8903210f7f8 /doc/python_api
parentaaa07a3a8f6427a01ef1ffacc0733e82921b0a8a (diff)
PyAPI: remove context.active_base
All other access to the Base structure from Python was removed, it seems this was left in by accident. Ref T85675
Diffstat (limited to 'doc/python_api')
-rw-r--r--doc/python_api/sphinx_doc_gen.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 8be194a58a2..94c69be5530 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1029,7 +1029,6 @@ def pymodule2sphinx(basepath, module_name, module, title, module_all_extra):
context_type_map = {
# context_member: (RNA type, is_collection)
"active_annotation_layer": ("GPencilLayer", False),
- "active_base": ("ObjectBase", False),
"active_bone": ("EditBone", False),
"active_gpencil_frame": ("GreasePencilLayer", True),
"active_gpencil_layer": ("GPencilLayer", True),
@@ -1549,8 +1548,8 @@ def pyrna2sphinx(basepath):
fw(".. hlist::\n")
fw(" :columns: 2\n\n")
- # context does its own thing
- # "active_base": ("ObjectBase", False),
+ # Context does its own thing.
+ # "active_object": ("Object", False),
for ref_attr, (ref_type, ref_is_seq) in sorted(context_type_map.items()):
if ref_type == struct_id:
fw(" * :mod:`bpy.context.%s`\n" % ref_attr)