This allows to easily invert all or some normals of a mesh, outside of BMesh/editing context.
It is useful in several cases, this pacth use it to invert back normals after transforming
a mesh with a negative matrix, and to fix poly normals after setting custom loop normals
opposite to it in normal modifier.
Notes:
- Obviously not for 2.77, this patch is not safe enough!
- This invalidates tessellation, calling code has to take care of this as needed.
- Not sure whether we can optimize CustomData_swap?
- Remaed current CustomData_swap to CustomData_swap_corners, since that one does swapping 'internal' to one item, and not swapping between items of the cdata arrays...
Fix T47490: STL: faces not normalized correctly when exporting multiple meshes
Fix T42526: Generated normals can be opposed to face one, needs winding flipping in this case