[2.0.8] rendering.draw_line with 'dash_offset' generates incorrect geometry on short lines
Posted: Mon Oct 21, 2024 8:14 pm
When the line-distance in the call to rendering.draw_line(...) is very short, the code generating the dashes seems to produce both multiple line-geometries (instead of one), and these extend beyond the from/to points.
N.B.: I intentionally used translucency to see where the generated geometry overlaps.
A sequence of lines (showing as a curve) without 'dashes and gaps' (rendering is OK) The exact same (!) sequence of lines with 'dashes and gaps', where the small line-segment in the corner causes incorrect geometry to be rendered.
N.B.: I intentionally used translucency to see where the generated geometry overlaps.
A sequence of lines (showing as a curve) without 'dashes and gaps' (rendering is OK) The exact same (!) sequence of lines with 'dashes and gaps', where the small line-segment in the corner causes incorrect geometry to be rendered.