From 654fde2dd213e8799da09875eab961d5286b2452 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 29 May 2020 14:50:29 +1000 Subject: PyAPI: use bpy_rna_types_capi.c to set type methods Remove use of '_bpy' as an intermediate module to store functions which were then assigned in bpy_types.py. --- release/scripts/modules/bpy_types.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'release') diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 845e04caaea..bf14d34ed20 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -25,12 +25,7 @@ StructRNA = bpy_types.bpy_struct StructMetaPropGroup = bpy_types.bpy_struct_meta_idprop # StructRNA = bpy_types.Struct -bpy_types.BlendDataLibraries.load = _bpy._library_load -bpy_types.BlendDataLibraries.write = _bpy._library_write -bpy_types.BlendData.user_map = _bpy._rna_id_collection_user_map -bpy_types.BlendData.batch_remove = _bpy._rna_id_collection_batch_remove -bpy_types.BlendData.orphans_purge = _bpy._rna_id_collection_orphans_purge - +# Note that methods extended in C are defined in: 'bpy_rna_types_capi.c' class Context(StructRNA): __slots__ = () -- cgit v1.2.3