cad-editor/src/io
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan e88a946176 feat(xref): honor BlockRecord is_loaded — skip Unloaded xrefs
When the host DWG marks an xref as Unloaded (via XREF→Unload in
AutoCAD), the user explicitly chose NOT to load that reference. We
were ignoring that and pulling the external file in anyway, which
on large drawings could push GPU memory past the device budget.

Bump the acadrust dep to the branch that exposes
`BlockRecord::is_loaded`, then short-circuit `resolve_xrefs` for
any entry with `is_loaded == Some(false)`. New `XrefStatus::Unloaded`
surfaces this in the command-line log so the user can see which
references were skipped (and can re-load them via the XREF dialog).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:20:11 +03:00
..
mod.rs feat(io): drop parser-garbage entities at load time 2026-05-13 10:00:16 +03:00
obj.rs cargo fmt 2026-05-12 10:36:15 +03:00
pdf_export.rs cargo fmt 2026-05-12 10:36:15 +03:00
plot_style.rs cargo fmt 2026-05-12 10:36:15 +03:00
print_to_printer.rs cargo fmt 2026-05-12 10:36:15 +03:00
step.rs cargo fmt 2026-05-12 10:36:15 +03:00
stl.rs cargo fmt 2026-05-12 10:36:15 +03:00
xref.rs feat(xref): honor BlockRecord is_loaded — skip Unloaded xrefs 2026-05-14 11:20:11 +03:00