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
parent
efb9fa3d69
commit
accd73fe02
|
@ -667,8 +667,8 @@ void Entity::DrawOrGetDistance(void) {
|
||||||
}
|
}
|
||||||
LineDrawOrGetDistance(pp, pm);
|
LineDrawOrGetDistance(pp, pm);
|
||||||
LineDrawOrGetDistance(pm, mm2);
|
LineDrawOrGetDistance(pm, mm2);
|
||||||
LineDrawOrGetDistance(mm, mp);
|
LineDrawOrGetDistance(mp, mm);
|
||||||
LineDrawOrGetDistance(mp, pp);
|
LineDrawOrGetDistance(pp, mp);
|
||||||
|
|
||||||
if(dogd.drawing)
|
if(dogd.drawing)
|
||||||
glDisable(GL_LINE_STIPPLE);
|
glDisable(GL_LINE_STIPPLE);
|
||||||
|
|
Loading…
Reference in New Issue