Blender Git Loki

Git Commits -> Revision ed38d0c

Revision ed38d0c by Campbell Barton (master)
August 13, 2021, 03:33 (GMT)
Cleanup: split BKE_mesh_calc_normals_poly function in two

Remove the 'only_face_normals' argument.

- BKE_mesh_calc_normals_poly for polygon normals.
- BKE_mesh_calc_normals_poly_and_vertex for poly and vertex normals.

Order arguments logically:

- Pair array and length arguments.
- Position normal array arguments (to be filled) last.

Commit Details:

Full Hash: ed38d0c25da27c8fe6b3db76dbe024f33f82e338
Parent Commit: 399b6ec
Lines Changed: +308, -286

13 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+14, -8) (Diff)
/source/blender/blenkernel/intern/data_transfer.c (+2, -4) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.cc (+16, -18) (Diff)
/source/blender/blenkernel/intern/key.c (+2, -9) (Diff)
/source/blender/blenkernel/intern/mesh.c (+8, -9) (Diff)
/source/blender/blenkernel/intern/mesh_mirror.c (+8, -9) (Diff)
/source/blender/blenkernel/intern/mesh_normals.cc (+239, -188) (Diff)
/source/blender/blenkernel/intern/mesh_remap.c (+4, -8) (Diff)
/source/blender/editors/mesh/mesh_data.c (+2, -9) (Diff)
/source/blender/modifiers/intern/MOD_normal_edit.c (+7, -9) (Diff)
/source/blender/modifiers/intern/MOD_solidify_extrude.c (+2, -4) (Diff)
/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c (+2, -9) (Diff)
/source/blender/modifiers/intern/MOD_weighted_normal.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021