Fix incorrect docs for bpy.types.bpy_prop_collection_idprop

ID Property methods were missing from the API docs,
error in [0] which added docs for this type.

[0]: 10e3e3b4a0

Co-authored-by: nutti <nutti.metro@gmail.com>
This commit is contained in:
Campbell Barton
2025-01-20 15:49:54 +11:00
parent ddae7cd966
commit 7cd621bebc

View File

@@ -1866,14 +1866,14 @@ def pyrna2sphinx(basepath):
)
if _BPY_PROP_COLLECTION_FAKE:
class_value = bpy.data.objects.__class__
class_value = bpy.types.bpy_prop_collection
fake_bpy_type(
"bpy.types", class_value, _BPY_PROP_COLLECTION_FAKE,
"built-in class used for all collections.", use_subclasses=False,
)
if _BPY_PROP_COLLECTION_IDPROP_FAKE:
class_value = bpy.data.objects.__class__
class_value = bpy.types.bpy_prop_collection_idprop
fake_bpy_type(
"bpy.types", class_value, _BPY_PROP_COLLECTION_IDPROP_FAKE,
"built-in class used for user defined collections.", use_subclasses=False,