merge materials doesn't remove unused materials
Issue #630
resolved
When we merge and separate meshes it may happen that unused materials are left on some objects. For example if we separate some parts and/or delete unneccesary geometry. In this case “merge materials” doesn’t delete the unused materials.
There’s a quick command in blender to do that on the active object so it’s not a big deal. But when we merge materials on multiple meshes it may come in handy if “merge materials” also deletes the unused materials as a last step.
Comments (4)
-
repo owner -
reporter Nope, because the materials get a owner that’s the geometry, even if there’s no face associated. We have to use “remove unused material slots“ for every mesh.
example steps:
- import G8F
- in edit mode select some geometry and separate by selection (mesh > separate > selection)
-
repo owner OK, I didn’t read the part about separate meshes. Fixed in last commit.
-
reporter - changed status to resolved
commit 76a6c2d works fine
- Log in to comment
Aren’t unused materials removed automatically when the file is reopened? Unless there is a fake user.