chore: post-merge cleanup for #287/#289

- Reword the two new explanatory comments to describe the behaviour on its
  own instead of citing another product.
- window_to_sheet: drop the unused window_min parameter (the caller already
  derives its coordinate offset from the returned min-corner position) and fix
  the doc comment to match what the function returns.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 4.8 committed 2026-07-06 01:22:10 +03:00
1 parent dd4f678c41
commit b50921923f
4 files changed
+16 -20

No files matched your search

+3 -3
View File
@@ -642,9 +642,9 @@ impl Scene {
// both rejects below: its centroid sits at the base point (inside
// the consensus cluster), and in a fresh drawing `local_extent_max`
// is still the 1e9 default, so the far points pass the `lim` filter
// too (issue #284). Exclude them up front — matching AutoCAD, where
// infinite lines never contribute to ZOOM Extents — and fall back
// to their base points if the drawing holds nothing else.
// too (issue #284). Exclude them up front — an infinite construction
// line should never contribute to ZOOM Extents — and fall back to their
// base points if the drawing holds nothing else.
let mut infinite_base_pts: Vec<glam::Vec3> = Vec::new();
wires.retain(|w| {
let is_infinite = Self::handle_from_wire_name(&w.name)