Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <b.mont29@gmail.com>2020-02-13 19:46:57 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-02-13 19:46:57 +0300
commitdadabf5cf3babfbda5075bd7093909ca01655b9e (patch)
tree5b8849555048c9bfb411c1a8820b68383e8e7503 /release/scripts/modules/bpy_types.py
parent92e41bb1a8a540e8f1f5abdd4127647815ebb22c (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/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py1
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):