Files
blender-addons/materials_utils
Thomas Barlow cbbe37ba5a Fix #105096: Material Utilities: Clean Material Slots fails to remove unused slots
The code was removing material slots while iterating through them which
is generally a bad idea, and it stopped working as the addon expected in
Blender 3.0+.

The slots are now removed by counting how many slots there are and then
removing that number of slots.

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/105098
2024-01-11 12:23:47 +01:00
..