Page MenuHome

Adding Rearrange Material Slot Order to the Material UI
Closed, ResolvedPublicTO DO

Description

We want to add the ability to rearrange the Material Slot order. From the User Interface side the following look seems appropriate (same is with shape keys and Vertex Groups) :

We need to define what exactly has to be taken into account when the material slot order is changed. Especially we have 2 locations to look at:

  • The Material list of the Object
  • The Material list of the Associated Data Block

It seems reasonable to change the slot order of the Object and the associated Mesh as well

Problem:

What to do with other objects that use the same Mesh ?

Event Timeline

Gaia Clary (gaiaclary) claimed this task.
Gaia Clary (gaiaclary) raised the priority of this task from to 90.
Gaia Clary (gaiaclary) updated the task description. (Show Details)
Gaia Clary (gaiaclary) edited a custom field.
Gaia Clary (gaiaclary) updated the task description. (Show Details)
Julian Eisel (Severin) lowered the priority of this task from 90 to Normal.Jan 13 2015, 5:19 PM

Quick update: I made a patch for the basic functionallity two weeks ago: P193. Gif showing it in action:

As you can see the reordering currently has influence on the material assignment which -at least following @Gaia Clary (gaiaclary)'s proposal- isn't wanted. I should be able to find a few hours of time to complete this so hopefully another update will come soon :)

I added the swapping of material assignments when the material sort order is changed.
The Diff is really just a work in progress for getting feedback for how to make it better.
Maybe this can be done much easier, please let me know. more comments in the diff
thanks.

Gaia Clary (gaiaclary) changed the task status from Unknown Status to Resolved.Apr 28 2015, 1:01 AM

Many thanks to Ideasman42 and Severin :)