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:
parent
97dd107070
commit
a27024e36d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue