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 <bastien@blender.org>2022-07-07 13:59:24 +0300
committerBastien Montagne <bastien@blender.org>2022-07-07 14:01:02 +0300
commita27024e36d879c3872cfb791f4c5ce805bf57857 (patch)
tree4aeb2c42260ef2e6c1122aa8c5a31938b4090d8c /release
parent97dd10707097536df24dd7ca7d2a45b9a6408711 (diff)
ID Management: Purge: Make outliner button use recursive purge.
This change the 'Purge' button of the Outliner 'Orphaned' view to use recursive purge, i.e. it wil not only delete immediately unused IDs (as listed in the view) anymore, but also all their unused dependencies.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_outliner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index fff252ade01..18057de6767 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -55,7 +55,7 @@ class OUTLINER_HT_header(Header):
layout.operator("outliner.collection_new", text="", icon='COLLECTION_NEW').nested = True
elif display_mode == 'ORPHAN_DATA':
- layout.operator("outliner.orphans_purge", text="Purge")
+ layout.operator("outliner.orphans_purge", text="Purge").do_recursive=True
elif space.display_mode == 'DATA_API':
layout.separator()