Blender Git Commit Log

Git Commits -> Revision ac51e2f

Revision ac51e2f by Bastien Montagne (master)
September 4, 2015, 20:41 (GMT)
Fix T46015: normals_split_custom_set_from_vertices doesn't work with zero vectors

This was simply broken for vertex case (indexing loop normals with vert indices...).

Turns out to be rather verbose to replace on-the-fly zero normals by default ones correctly,
and do not want to make a full copy of the given custom normals array, so now this one is
editied in place (replacing zero vectors by correct default normals). Don't think this
could be a serious issue anyway.

Commit Details:

Full Hash: ac51e2f326965816e23f7948e2e3fbdfb07cb66c
Parent Commit: 83a36b2
Lines Changed: +30, -24

2 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+28, -22) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021