From dadabf5cf3babfbda5075bd7093909ca01655b9e Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 13 Feb 2020 17:46:57 +0100 Subject: Py API: Add `orphans_purge` helper to `bpy.data`. Much more convinient than trying to use outliner operator... --- release/scripts/modules/bpy_types.py | 1 + 1 file changed, 1 insertion(+) (limited to 'release/scripts/modules/bpy_types.py') diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 4c47b5a5fb6..a30f9d1dd1d 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -29,6 +29,7 @@ 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 class Context(StructRNA): -- cgit v1.2.3