Material garbage collector

This script cleans doubled materials.
I made this for exporting levels from blender to game engine. In complex levels with many appending models it’s always mess in materials - many unnecessary doubles with different names.

thanks for sharing, Darek.

very useful script! Thanks! :smiley: