forked from 1b-agent/opencadstudio-upstream
Block-definition geometry (entities stored inside named blocks) was leaking into the viewport when DXF files omit the owner-handle group code (330) on block-content entities. The fix tightens `belongs_to_visible_block`: when `owner_handle` is null, the current layout block-record's `entity_handles` list is used as the authoritative allow-list before falling back to the older "not-in-any-other-block" heuristic. This ensures block definitions are never rendered directly, only when referenced via an INSERT. Bumps version to 0.1.4. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
20 lines
602 B
TOML
20 lines
602 B
TOML
[package]
|
|
name = "H7CAD"
|
|
version = "0.1.4"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
iced = { version = "0.14", features = ["debug", "image", "svg", "advanced", "canvas"] }
|
|
bytemuck = { version = "1.14", features = ["derive"] }
|
|
glam = { version = "0.27", features = ["bytemuck"] }
|
|
truck-modeling = "0.6"
|
|
truck-meshalgo = { version = "0.4", default-features = false, features = ["tessellation"] }
|
|
truck-polymesh = "0.6"
|
|
rfd = "0.15"
|
|
acadrust = "0.3.3"
|
|
open = "5"
|
|
printpdf = "0.9.1"
|
|
flate2 = "1"
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp", "tiff"] }
|