Blender Git Loki
Git Commits -> Revision 877f441
Revision 877f441 by Bastien Montagne (master) February 28, 2016, 14:29 (GMT) |
BKE_mesh: add polygon flipping tools. Those new functions invert the winding of polygons, effectively inverting their normals. A helper was also added to allow swapping two items in customdata layers. Being able to invert normals outside of BMesh area is very important in several places, like IO scripts or customnormals modifiers... Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1814 |
Commit Details:
Full Hash: 877f44162853664791f0ff4fa93f856384d0eed7
Parent Commit: ea76ec2
Lines Changed: +114, -1
6 Modified Paths:
/source/blender/blenkernel/BKE_customdata.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+29, -0) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+51, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+14, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+15, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+29, -0) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+51, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+14, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+15, -1) (Diff)