forked from 1b-agent/opencadstudio-upstream
fix(render): improve dashed linetype rendering
This commit is contained in:
1 parent
513ab958a8
commit
a2d4caf2f0
3 files changed
+12
-3
No files matched your search
@@ -250,7 +250,7 @@ impl Scene {
|
||||
let source_length = stationed.then(|| wire.pattern_stations[wire.points.len()]);
|
||||
let (clipped, mut clipped_stations) = clip_polyline_to_rect(
|
||||
&projected_pts,
|
||||
stationed.then_some(&wire.pattern_stations[..wire.points.len()]),
|
||||
stationed.then(|| &wire.pattern_stations[..wire.points.len()]),
|
||||
vp_x0,
|
||||
vp_y0,
|
||||
vp_x1,
|
||||
|
||||
Reference in new issue
Block a user