Material Utilities add-on incorrectly re-assigns materials when cleaning slots #94119

Open
opened 2021-12-15 17:58:36 +01:00 by Ryan Andrade · 5 comments

System Information
Operating system: Windows 10.0.19042
Graphics card: RTX 2080 Super
CPU: AMD Ryzen 9 3900X

Blender Version
Broken: 3.0.0

Short description of error
When using the Material Utilities plugin to clean slots (remove materials from an object that aren't assigned to any surfaces), material utilities incorrectly re-assigns materials. In previous versions, Material Utilities correctly removes any un-assigned materials, and keeps assigned materials where they were before cleaning slots.

Exact steps for others to reproduce the error

  1. Open attached blend file (must have Material Utilities add-on enabled)
  2. Right click cube > material utilities > clean slots > clean material slots
    Expected behavior: Materials 4,5, & 6 should be removed, existing materials should stay as they were before cleaning slots.
    Bug: 4,5,&6 are correctly removed, but remaining materials are duplicated and re-assigned randomly on the object (see screenshot).

material-utilities.jpg

material utilities test file.blend

Sorry if any of the formatting is wrong, this is my first bug report.

**System Information** Operating system: Windows 10.0.19042 Graphics card: RTX 2080 Super CPU: AMD Ryzen 9 3900X **Blender Version** Broken: 3.0.0 **Short description of error** When using the Material Utilities plugin to clean slots (remove materials from an object that aren't assigned to any surfaces), material utilities incorrectly re-assigns materials. In previous versions, Material Utilities correctly removes any un-assigned materials, and keeps assigned materials where they were before cleaning slots. **Exact steps for others to reproduce the error** 1. Open attached blend file (must have Material Utilities add-on enabled) 2. Right click cube > material utilities > clean slots > clean material slots Expected behavior: Materials 4,5, & 6 should be removed, existing materials should stay as they were before cleaning slots. Bug: 4,5,&6 are correctly removed, but remaining materials are duplicated and re-assigned randomly on the object (see screenshot). ``` ``` ![material-utilities.jpg](https://archive.blender.org/developer/F12748803/material-utilities.jpg) [material utilities test file.blend](https://archive.blender.org/developer/F12748802/material_utilities_test_file.blend) Sorry if any of the formatting is wrong, this is my first bug report.
Author

Added subscriber: @RyanAndrade

Added subscriber: @RyanAndrade

#97696 was marked as duplicate of this issue

#97696 was marked as duplicate of this issue

Added subscriber: @TOROC

Added subscriber: @TOROC
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @CaptainHexagon

Added subscriber: @CaptainHexagon
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#94119
No description provided.