Blender Git Commit Log
Git Commits -> Revision 7bae9ee
Revision 7bae9ee by Bastien Montagne (master) February 5, 2015, 13:03 (GMT) |
Mesh validate: add an option to not clean temp/cache CDLayers. This is mandatory for incoming custom normal imports from io scripts, because often geometry here is corrupted, so we need to call mesh.validate() to clean it up. Issue is, we cannot set custom normals before geometry is clean, so we need to store temporary plain loop normals in a CD_NORMAL layer, validate, and then set custom normals. So we need a way to prevent 'temp' lnors to be freed by validate. |
Commit Details:
Full Hash: 7bae9ee6b62dbc5defffb698ec3d3f39ce460254
Parent Commit: e442b99
Lines Changed: +9, -7
6 Modified Paths:
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+2, -2) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+2, -2) (Diff)
/source/blender/collada/MeshImporter.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+3, -1) (Diff)