Materials check
No Unused Material Slots
Checks for unused material slots. Empty unused slots are reported and can be fixed automatically. Populated unused slots are ignored by default because they may be intentional, but can optionally be reported for manual review.
Why this check exists
Removes stale material-slot references and keeps material assignments easier to understand without automatically deleting potentially intentional populated slots.
Behavior
| Module |
materials/no_unused_material_slots.py
|
|---|---|
| Included with | Core |
| Severity | Info |
| Automatic fix | Yes |
| Fix behavior | An automatic fix is available. |
| User settings | Yes |
| Selection support | Object |
Settings
| Setting | ID | Type | Default | Description |
|---|---|---|---|---|
| Ignore Last Empty Slot |
ignore_last_empty_slot
|
bool |
Ignore the final material slot when it contains no material and is not assigned to
any face.
|
|
| Report Populated Unused Slots |
report_populated_unused_slots
|
bool |
Also report material slots that contain a material but are not currently assigned to
any polygon. These may be intentional and are never removed automatically.
|