Split Normals I (2/5): Add basic BMesh support of split normals.
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 13 Apr 2014 10:25:02 +0000 (12:25 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 13 Apr 2014 10:25:54 +0000 (12:25 +0200)
commit0b7f5813973c515b84cd7c18ef6d7d1e59374237
treeb3023962b59abf0e594a977f88661682d9e8e8b7
parent18e4224142261cd8a1086c5872efb406b82f8330
Split Normals I (2/5): Add basic BMesh support of split normals.

* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available.
* This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co.

Reviewers: campbellbarton

Reviewed By: campbellbarton

CC: brecht
Differential Revision: https://developer.blender.org/D366
source/blender/blenkernel/intern/editderivedmesh.c
source/blender/bmesh/bmesh_class.h
source/blender/bmesh/intern/bmesh_core.c
source/blender/bmesh/intern/bmesh_mesh.c
source/blender/bmesh/intern/bmesh_mesh.h
source/blender/bmesh/intern/bmesh_mesh_conv.c
source/blender/bmesh/tools/bmesh_decimate_collapse.c
source/blender/bmesh/tools/bmesh_edgenet.c
source/blender/modifiers/intern/MOD_array.c
source/blender/python/bmesh/bmesh_py_types.c