fix(block): render constant attributes; bump acadrust for multiline attrs

A CONSTANT ATTDEF has no per-insert ATTRIB — its value belongs to the block
itself — so block expansion must draw it instead of skipping every ATTDEF.
Non-constant templates are still skipped (the insert supplies their ATTRIB).

Also bumps acadrust to decode the embedded MTEXT of R2018 multiline
attributes, so a value like "A\PB" renders both lines.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-07-18 17:57:23 +03:00
commit 0658601c41
2 changed files with 10 additions and 4 deletions

2
Cargo.lock generated
View file

@ -73,7 +73,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
[[package]]
name = "acadrust"
version = "0.4.0"
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#eb691c931bf06aade25bf94823d0ed444c952b08"
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#7c106c2f6512530571ffcfad6a5fcfbbcc45d677"
dependencies = [
"ahash 0.8.12",
"anyhow",