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.
This commit is contained in:
Bastien Montagne 2022-07-07 12:59:24 +02:00
parent 97dd107070
commit a27024e36d
1 changed files with 1 additions and 1 deletions

View File

@ -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()