Selecting unused materials not working correctly?

I’m trying to delete unused materials, but when trying to delete after selecting via the dialog, it tells me several of them are still in use:

Any thoughts? Bug?

Hi Andrew - are there blocks in the file?

-Pascal

1 Like

Hey Pascal!
Not according to BlockManager.

Hi Andrew - can you please send the file to tech@mcneel.com, with a link back here in your comments?

-Pascal

Done.

Hi Andrew - yeah, there is a bug here someplace - the file initially opens with ten materials, of which three are un-used - all of these can be deleted here.

On reverting the file however, this all gets out of whack - in short, I see correct and buggy behavior, both… I’ll see if I can figure out what causes the latter. Thanks for the example.

@Andrew_Turner one thing that comes to mind is that some objects have per face materials - I need to see how that might affect the materials panel, I can see that it might well do something.

-Pascal

1 Like

Same issue here. The alternative is to go one-by-one through dozens of materials, check if each on is in use, select it, and delete them.

There are more bugs in the materials dialog: When I select sort by name, it quickly reverts back to some random order once I start editing a material.

Plus: The material dialog is painfully slow.

OK, I figured out what is happening: If you select a range by shift-clicking, it also selects materials that are not shown. Workaround: control-click all the materials, then select delete.

Does “sort by name” mean the “search names” functionality that pops up when clicking the magnifying glass icon? Or is it the “Sort alphabetically” task that it in the context menu of the material editor?

That one. Especially in combination with the very bad performance when scrolling through the list, which I experience on two machines, the sort order randomly changing back is an issue.

1 Like