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 <noreply@anthropic.com>
This commit is contained in:
parent
dd4f678c41
commit
b50921923f
4 changed files with 16 additions and 20 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue