Blender Git Commit Log
Git Commits -> Revision e6605d5
Revision e6605d5 by Alexander Gavrilov (master) November 29, 2018, 14:51 (GMT) |
Fix depth offset in paint mode wireframe. The original offset was wrong because it applied a constant to homogenous coordinates (the actual depth is z/w), which broke totally if near clip distance was reduced. A correct depth offset has to take slope into account like glPolygonOffset in order to avoid dotted lines caused by interpolation precision variations. When drawing wire lines however only the slope of the line itself is accessible, so also generally increase the offset when the object is close. |
Commit Details:
Full Hash: e6605d5f3746c1610b4f6e976c7e29074e82c3cd
Parent Commit: 4c2a3b4
Lines Changed: +3, -3