diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-12 19:21:41 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-12 19:21:41 +0300 |
commit | 487d2cb4f321d9847fb18bd57fbe7ccc3528461f (patch) | |
tree | e59219eb3218761a5d56d7f2b25d5da943b924a7 /source/blender/makesrna | |
parent | 883b420a5156fe616488f975a6817fde4cab0352 (diff) |
Displace Modifier: add an option to displace along (averaged) custom normals, instead of vertex normals.
User suggestion/request from 'boby'.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 17b03749b60..c6f1eca3e47 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -1989,9 +1989,11 @@ static void rna_def_modifier_displace(BlenderRNA *brna) {MOD_DISP_DIR_Y, "Y", 0, "Y", "Use the texture's intensity value to displace in the Y direction"}, {MOD_DISP_DIR_Z, "Z", 0, "Z", "Use the texture's intensity value to displace in the Z direction"}, {MOD_DISP_DIR_NOR, "NORMAL", 0, "Normal", - "Use the texture's intensity value to displace in the normal direction"}, + "Use the texture's intensity value to displace along the vertex normal"}, + {MOD_DISP_DIR_CLNOR, "CUSTOM_NORMAL", 0, "Custom Normal", + "Use the texture's intensity value to displace along the (averaged) custom normal (falls back to vertex)"}, {MOD_DISP_DIR_RGB_XYZ, "RGB_TO_XYZ", 0, "RGB to XYZ", - "Use the texture's RGB values to displace the mesh in the XYZ direction"}, + "Use the texture's RGB values to displace the mesh in the XYZ direction"}, {0, NULL, 0, NULL, NULL} }; |