Add functions to compute normals (verts, polys and loops ones) for a given shapekey.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 12 Oct 2015 18:12:55 +0000 (20:12 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 12 Oct 2015 18:12:55 +0000 (20:12 +0200)
commitcdd727b7ceab5772503b702322e93620b7df651b
treeb7d7f675a464dfe7bd994aeafaed44f21b73779d
parentee688e24a766d1352d9eac5b22113b118c227ceb
Add functions to compute normals (verts, polys and loops ones) for a given shapekey.

Title says pretty much everything, we now have BKE and RNA funcs to get vertex, poly and
loop normals of a given shapekey.

This will be used e.g. in FBX exporter (shapekeys need normal data too).

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D1510
12 files changed:
source/blender/blenkernel/BKE_key.h
source/blender/blenkernel/BKE_mesh.h
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/data_transfer.c
source/blender/blenkernel/intern/key.c
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/mesh_evaluate.c
source/blender/blenkernel/intern/mesh_remap.c
source/blender/makesrna/intern/rna_key.c
source/blender/makesrna/intern/rna_mesh_api.c
source/blender/modifiers/intern/MOD_normal_edit.c
source/blender/modifiers/intern/MOD_solidify.c