[Bf-codereview] modeler normals don't match render normals (issue4280049)

brechtvanlommel at gmail.com brechtvanlommel at gmail.com
Tue Mar 15 19:39:32 CET 2011


http://codereview.appspot.com/4280049/diff/8003/source/blender/blenkernel/intern/cdderivedmesh.c
File source/blender/blenkernel/intern/cdderivedmesh.c (right):

http://codereview.appspot.com/4280049/diff/8003/source/blender/blenkernel/intern/cdderivedmesh.c#newcode1869
source/blender/blenkernel/intern/cdderivedmesh.c:1869: /* calculate face
normals and add to vertex normals */
Also, it seems the last parameter in mesh_calc_normals is unused, so it
can be changed to not allocate the face normals but fill them in in the
existing array and avoid memcpy.

http://codereview.appspot.com/4280049/


More information about the Bf-codereview mailing list