Blender Git Commits

Blender Git "temp-material-remap" branch commits.

April 27, 2015, 21:19 (GMT)
refactor remapping into mesh/curve API calls
April 27, 2015, 20:58 (GMT)
use range function
April 27, 2015, 20:55 (GMT)
Merge branch 'master' into temp-material-remap
April 27, 2015, 20:47 (GMT)
Text mat_nr index starts at 1.
April 27, 2015, 20:38 (GMT)
use macro /w error checks for remapping
April 27, 2015, 20:33 (GMT)
add support for non-editmode text

also correct remapping range check
April 27, 2015, 20:24 (GMT)
Material slot reorder https://developer.blender.org/T43235 (WIP)

This Diff implements the Material Slot reorder.
This Diff is a WIP and it probably needs a lot of rework, however i'd like to get some feedback
before i continue on it.

Note: I started with Severin's initial patch P193
There i added support for Materials assigned to Objects and materials assigned to Data
Then finally i added the material assignment swapping for Mesh, Nurbs and Fonts.

I tested the Diff for Mesh objects and there it seems to work nicely.
So for Mesh objects now changing the material order will preserve the material assignments.

Any feedback appreciated.
thanks

Reviewers: Severin, campbellbarton

Subscribers: campbellbarton

Maniphest Tasks: T43235

Differential Revision: https://developer.blender.org/D1262
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021