diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-29 07:50:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-29 08:55:25 +0300 |
commit | 654fde2dd213e8799da09875eab961d5286b2452 (patch) | |
tree | 28ead63734dbde1f1f003f16c97781c0aaafc58c /release/scripts/modules/bpy_types.py | |
parent | e115b7b06d325c00edae733f3eefd6dbab2dd89e (diff) |
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.
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 7 |
1 files changed, 1 insertions, 6 deletions
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__ = () |