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.
pull/4/head
EvilSpirit 2016-03-25 14:13:01 +06:00 committed by whitequark
parent efb9fa3d69
commit accd73fe02
1 changed files with 2 additions and 2 deletions

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);