Blender Git Commit Log

Git Commits -> Revision 2b2c100

Revision 2b2c100 by Campbell Barton (master)
January 6, 2012, 00:08 (GMT)
rename normal calc functions.

comparing bmesh to trunk, mesh_calc_normals() in bmesh is a much more comprehensive function, calculating mpoly,mface normals, where trunk only calculated vertex normals.

renamed:
* mesh_calc_normals() --> mesh_calc_normals_mapping_ex
* mesh_calc_tessface_normals --> mesh_calc_normals_tessface() - only calculates normals from tessface
* added mesh_calc_normals() - only calculates normals from poltys

this way we can have mesh_calc_normals() remain fast for parts of the code which only need vertex normals to be updated.

only refactor, no func changes- didnt replace mesh_calc_normals_mapping_ex() with mesh_calc_normals() anywhere yet.

Commit Details:

Full Hash: 2b2c1007f6a960274f3ddbcfa0ac2849e65894c9
SVN Revision: 43190
Parent Commit: 2c9f083
Lines Changed: +104, -82

10 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+14, -8) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+79, -63) (Diff)
/source/blender/blenlib/intern/pbvh.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/editors/mesh/mesh_data.c (+3, -3) (Diff)
/source/blender/editors/object/object_transform.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021