diff options
author | Bastien Montagne <b.mont29@gmail.com> | 2020-02-13 19:46:57 +0300 |
---|---|---|
committer | Bastien Montagne <b.mont29@gmail.com> | 2020-02-13 19:46:57 +0300 |
commit | dadabf5cf3babfbda5075bd7093909ca01655b9e (patch) | |
tree | 5b8849555048c9bfb411c1a8820b68383e8e7503 /release/scripts/modules | |
parent | 92e41bb1a8a540e8f1f5abdd4127647815ebb22c (diff) |
Py API: Add `orphans_purge` helper to `bpy.data`.
Much more convinient than trying to use outliner operator...
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): |