mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix (unreported) broken PY API doc gen after recent GP changes.
As usual... Adding/removing members from context requires updates of the API building script.
This commit is contained in:
parent
162cb74320
commit
dfa3f51e52
1 changed files with 3 additions and 0 deletions
|
|
@ -989,6 +989,7 @@ def pymodule2sphinx(basepath, module_name, module, title):
|
|||
# Changes in Blender will force errors here
|
||||
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),
|
||||
|
|
@ -998,6 +999,8 @@ context_type_map = {
|
|||
"active_operator": ("Operator", False),
|
||||
"active_pose_bone": ("PoseBone", False),
|
||||
"active_editable_fcurve": ("FCurve", False),
|
||||
"annotation_data": ("GreasePencil", False),
|
||||
"annotation_data_owner": ("ID", False),
|
||||
"armature": ("Armature", False),
|
||||
"bone": ("Bone", False),
|
||||
"brush": ("Brush", False),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue