forked from bartvdbraak/blender
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
@ -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…
Reference in New Issue
Block a user