Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-02-05 16:38:59 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-02-05 16:38:59 +0300
commit2c3e4fbd7e91e7faeaaed3946874beb4be4e7817 (patch)
treec4710b2c578efacc67007a63ffd9f656405a19d1 /source/blender/makesrna
parent138c9dba9be67a93c91717ae3fcd8855aced9185 (diff)
Add Custom Loop Normals to Data Transfer.
Titles says everything, just two notes: * We have to actually transfer plain *normals*, not 'compressed' clnors, so had to add pre/post process to transfer to make the conversions. * Also added interpolation and advanced copy/mixing to CD_NORMAL, for same reasons.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 7b912b9120b..3458d84a85c 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -4148,6 +4148,7 @@ static void rna_def_modifier_datatransfer(BlenderRNA *brna)
};
static EnumPropertyItem DT_layer_loop_items[] = {
+ {DT_TYPE_LNOR, "CUSTOM_NORMAL", 0, "Custom Normals", "Transfer custom normals"},
{0, NULL, 0, NULL, NULL}
};
static EnumPropertyItem DT_layer_loop_vcol_items[] = {