[Bf-blender-cvs] [32ec7d77d7e] soc-2018-hair-shader: Fix color parametrization ordering
L. E. Segovia
noreply at git.blender.org
Sun Jun 17 22:38:22 CEST 2018
Commit: 32ec7d77d7ebd236bd1f724ab735415f2d97389d
Author: L. E. Segovia
Date: Sun Jun 17 20:37:48 2018 +0000
Branches: soc-2018-hair-shader
https://developer.blender.org/rB32ec7d77d7ebd236bd1f724ab735415f2d97389d
Fix color parametrization ordering
===================================================================
M source/blender/makesrna/intern/rna_nodetree.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 6823f890896..34fc7f59278 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -3323,9 +3323,9 @@ static const EnumPropertyItem node_hair_items[] = {
};
static const EnumPropertyItem node_principled_hair_items[] = {
- {SHD_PRINCIPLED_HAIR_REFLECTANCE, "COLOR", 0, "Direct coloring", "Choose the color of your preference, and the shader will approximate the absorption coefficient to render lookalike hair."},
- {SHD_PRINCIPLED_HAIR_PIGMENT_CONCENTRATION, "MELANIN", 0, "Melanin concentration", "Define the melanin concentrations below to get the most realistic-looking hair. You can get the concentrations for different types of hair online."},
{SHD_PRINCIPLED_HAIR_DIRECT_ABSORPTION, "ABSORPTION", 0, "Absorption coefficient", "Directly set the absorption coefficient sigma_a. This is not the most intuitive way to color hair."},
+ {SHD_PRINCIPLED_HAIR_PIGMENT_CONCENTRATION, "MELANIN", 0, "Melanin concentration", "Define the melanin concentrations below to get the most realistic-looking hair. You can get the concentrations for different types of hair online."},
+ {SHD_PRINCIPLED_HAIR_REFLECTANCE, "COLOR", 0, "Direct coloring", "Choose the color of your preference, and the shader will approximate the absorption coefficient to render lookalike hair."},
{0, NULL, 0, NULL, NULL}
};
More information about the Bf-blender-cvs
mailing list