Blender Git Loki
Git Commits -> Revision 0312302
Revision 0312302 by Antonis Ryakiotakis (master) November 21, 2012, 21:42 (GMT) |
Fix: Normal maps and triangulate modifier will give incorrect result on rectangular faces after applying rotation, reported by Metalliandi This issue is caused by floating point precision error. After applying rotation, the edge lengths change slightly and on rectangular faces the length comparison can be flipped. Solved by giving a slight offset to the length calculation for the diagonal during triangulation calculation. (Same as done during uv unwrapping) |
Commit Details:
Full Hash: 031230265c979991e10abfc8ad1d70d49445fcab
SVN Revision: 52452
Parent Commit: 1ecde9a
Lines Changed: +2, -1
1 Modified Path:
/source/blender/bmesh/intern/bmesh_polygon.c (+2, -1) (Diff)