Blender Git Loki
Git Commits -> Revision c53c6e9
November 26, 2017, 10:33 (GMT) |
Use material slot index instead of a direct Material pointer. A Material pointer would be a nicer way to assign a hair material, but unfortunately that does not work well with the context-based material lookup of the node editor. There is no selection of an "active" modifier, so the node editor will never display the material (unless it is placed into a material stack as well). |
Commit Details:
Full Hash: c53c6e99b30241bbf8f7df2594981a79e3c6fc71
Parent Commit: 56c1388
Lines Changed: +68, -17
6 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_modifier.py (+1, -1) (Diff)
/source/blender/blenkernel/intern/hair.c (+2, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_hair_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+61, -5) (Diff)
/source/blender/modifiers/intern/MOD_fur.c (+1, -5) (Diff)
/source/blender/blenkernel/intern/hair.c (+2, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_hair_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+61, -5) (Diff)
/source/blender/modifiers/intern/MOD_fur.c (+1, -5) (Diff)