Improve rendering of workplane stipple lines.

After this commit, a workplane perpendicular to the camera is
rendered with all dashes aligned, making it look more tidy.
This commit is contained in:
EvilSpirit 2016-03-25 14:13:01 +06:00 committed by whitequark
parent efb9fa3d69
commit accd73fe02

View File

@ -667,8 +667,8 @@ void Entity::DrawOrGetDistance(void) {
}
LineDrawOrGetDistance(pp, pm);
LineDrawOrGetDistance(pm, mm2);
LineDrawOrGetDistance(mm, mp);
LineDrawOrGetDistance(mp, pp);
LineDrawOrGetDistance(mp, mm);
LineDrawOrGetDistance(pp, mp);
if(dogd.drawing)
glDisable(GL_LINE_STIPPLE);