Made a little quality of life add-on to fix one of the most annoying things for me in Blender. Removing userless data (images, material, etc. with 0 next to the name) is a pain. You either have to restart .blend file to get rid of them or use blenders default Purge/Clean Up button that deletes absolutely every unused data.
The first method is painstaking, second is extremely risky because if you just want to get rid of unused materials that are cluttering your lists, you might accidentally delete actions, mesh data, or images you need but didnât know were userless, or without fake user.
So to save my time and sanity I wrote this simple code. It adds a button in the Outliner header, which lets you select which data type you want to purge. Simple as. Similar add-on maybe already done, but I couldnât find it, and if you need it (you do), Iâm sharing this for free on Gumroad
Buttons are inactive (greyed out) if there is no orphan data for that data type
After the operation text is printed in the info displaying a number of orphans purged
Viewer Node, which is considered orphaned image in Blender wonât be purged or counted by the add-on. (Deleting Viewer Node doesnât harm anything, itâs just annoying)
Included bug tracker link that redirects to this page
I took @xan2622âs suggestion and updated the addon to 1.1
Buttons are inactive (greyed out) if there is no orphan data for that data type
After the operation text is printed in the info displaying a number of orphans purged
Viewer Node, which is considered orphaned image in Blender wonât be purged or counted by the add-on. (Deleting Viewer Node doesnât harm anything, itâs just annoying)
Included bug tracker link that redirects to this page