Blender Git Loki

Git Commits -> Revision 1178518

Revision 1178518 by Bastien Montagne (master)
March 1, 2018, 15:54 (GMT)
Refactor: Merge non-functional-change part of 'edit normals' 2017 GSoC.

This merges changes in internals, runtime-only of existing custom
normals code, which make sense as of themselves, and will make diff of
soc branch easier/lighter to review.

In the details, it mostly changes two things:

* Now, smooth fans (aka MLoopNorSpaceArray) can store either loop
indices, or pointers to BMLoop themselves. This makes sense since in
BMesh, it's relatively easy to get index from a BMElement, but nearly
impracticable to go the other way around.

* First change enforces another, now we cannot rely anymore on `loops`
being NULL in MLoopNorSpace to detect single-loop fans, so we instead
store that info in a new flag.

Again, these are expected to be totally non-functional changes.

Commit Details:

Full Hash: 1178518a689eba1b53b455a07612fcc77bde45df
Parent Commit: 7377d41
Lines Changed: +102, -41

5 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+29, -3) (Diff)
/source/blender/blenkernel/intern/mesh.c (+11, -8) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+50, -23) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+9, -7) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021