cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven c61d648dc7 fix(scene): unfreeze open on huge xref Inserts
A real DWG with an xref containing ~74k sub-entities froze on the first
render: Insert tessellation exploded the block, style-resolved every sub
serially, and one bad sub could hang the loop forever.

- Insert short-circuits to an insertion marker when the referenced block
  has more than INSERT_SUB_LIMIT (5_000) sub-entities. Documented as
  temporary in RENDERING_OPTIMIZATION.md.
- Re-run purge_corrupt_entities after resolve_xrefs so parser-garbage
  inside xref content is caught (initial purge runs before xref load).
- build_derived_caches: single pass over entities collecting handles
  per kind; tessellation reads via doc.get_entity instead of cloning
  every EntityType. Image decode now parallel too.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 23:02:48 +03:00
..
cmd_result.rs cargo fmt 2026-05-12 10:36:15 +03:00
commands.rs feat(io): show loading overlay while opening CAD files 2026-05-13 09:59:07 +03:00
document.rs cargo fmt 2026-05-12 10:36:15 +03:00
helpers.rs cargo fmt 2026-05-12 10:36:15 +03:00
history.rs cargo fmt 2026-05-12 10:36:15 +03:00
layers.rs cargo fmt 2026-05-12 10:36:15 +03:00
mod.rs feat(io): show loading overlay while opening CAD files 2026-05-13 09:59:07 +03:00
properties.rs cargo fmt 2026-05-12 10:36:15 +03:00
update.rs fix(scene): unfreeze open on huge xref Inserts 2026-05-13 23:02:48 +03:00
view.rs feat(io): show loading overlay while opening CAD files 2026-05-13 09:59:07 +03:00