You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Add-on: Material Slots Cleaner (Free)

3

Nazzareno Giannelli writes:

Remove unused material slots from all selected meshes at once in Blender 2.81.

This simple addon is not deleting unused materials from your blend file, but instead is checking each selected mesh and removing unused material slots that could have been still attached to your meshes. I found it pretty useful in cases were you have to separate an imported fbx into different pieces. By default all the newly created meshes will inherit all the applied materials of the original fbx, even if the single mesh does not use all of them. With MatSlotCleaner, instead of having to go through each mesh and remove unused slots, you can do it with just one click.

About Author

Nazzareno Giannelli

The beauty of interior design and architecture, the interactivity and flexibility of digital art. My job is to create interactive experiences grounded into reality, to bring content, tools and knowledge to other creatives allowing them to express themselves. After many years as a 3D artist I am now shifting toward more technical skills like scripting and pipeline optimization. I love bringing visuals, interaction and sounds all together for a fulfilling experience, taking the users to new places, letting them explore.

3 Comments

  1. Awesome idea. I've been running into this problem lately. Now if someone would come up with a way to remove unused Vertex Groups as well I'd be in business, hint, hint.

    Thanks for this though. Can't wait to try it out.

    • Thanks for checking it out :)
      I could try to look into the vertex color thing. It shouldn't be so much different to solve.
      I am personally using them just for ID map in Substance Painter so...I never run into that issue.

  2. I import a lot of Daz and Poser content which tend to have lots of vertex groups. When separating I run into the same issue as with the material slots. Don't know if others have these issues.

    Peace

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.