Blender Git Loki

Git Commits -> Revision b9f5d00

Revision b9f5d00 by Gaia Clary (temp-material-remap)
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

Commit Details:

Full Hash: b9f5d00c31ed418b0235f4a62b976b25a3f8ace5
Parent Commit: 84836e8
Committed By: Campbell Barton
Lines Changed: +138, -1

6 Modified Paths:

/release/scripts/startup/bl_ui/properties_material.py (+12, -1) (Diff)
/source/blender/blenkernel/BKE_material.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+59, -0) (Diff)
/source/blender/editors/render/render_intern.h (+1, -0) (Diff)
/source/blender/editors/render/render_ops.c (+1, -0) (Diff)
/source/blender/editors/render/render_shading.c (+64, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021