cad-editor/src
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
..
app fix(scene): unfreeze open on huge xref Inserts 2026-05-13 23:02:48 +03:00
command cargo fmt 2026-05-12 10:36:15 +03:00
entities fix(render): preserve f64 precision until world_offset subtraction 2026-05-12 23:47:40 +03:00
io feat(io): drop parser-garbage entities at load time 2026-05-13 10:00:16 +03:00
modules fix(explode): correct arc/ellipse direction in mirrored INSERT blocks 2026-05-12 22:04:12 +03:00
scene fix(scene): unfreeze open on huge xref Inserts 2026-05-13 23:02:48 +03:00
shaders fix(hatch): more improvement on arc boundary and pattern 2026-05-10 20:29:39 +03:00
snap cargo fmt 2026-05-12 10:36:15 +03:00
ui feat(io): show loading overlay while opening CAD files 2026-05-13 09:59:07 +03:00
linetypes.rs cargo fmt 2026-05-12 10:36:15 +03:00
main.rs Refactor src/main.rs into modular src/app/ structure 2026-03-22 22:44:32 +03:00
patterns.rs first commit 2026-03-22 14:56:27 +03:00