Blender Git Commit Log

Git Commits -> Revision 0af11a1

Revision 0af11a1 by Bastien Montagne (master)
January 19, 2015, 14:51 (GMT)
Make use/computation of lnors consistant.

Issue was, when requesting (building) lnors for a mesh that has
autosmooth disabled, one would expect to simply get vnors as lnors.

Until now, it wasn't the case, which was bad e.g. for normal projections
of loops in recent remap code (projecting along split loop normals
when you would expect projection along vertex normals...).

Also, removed the 'angle' parameter from RNA's `mesh.calc_normals_split`.
This should *always* use mesh settings (both autosmooth and smoothresh),
otherwise once again we'd get inconsistencies in some cases.
Will update fbx and obj addons too.

Commit Details:

Full Hash: 0af11a1742030c1cf2e24304a94fbb96c5138571
Parent Commit: 694806a
Lines Changed: +107, -50

14 Modified Paths:

/intern/cycles/blender/blender_util.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_cdderivedmesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_mesh_remap.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/data_transfer.c (+6, -3) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+23, -3) (Diff)
/source/blender/blenkernel/intern/mesh_remap.c (+11, -9) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+45, -10) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+3, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021