Merge PR #1574 from ramox81/codex/attdef-parity: ATTDEF dialog, -ATTDEF, tag display, Properties and Block Definition ribbon

Conflicts with #1573: the locale files and the catalog take both PRs'
entries (one "Insertion Point" mapping kept); the Home and Insert Block
panels take #1574's layout with #1573's Insert Block gallery.
This commit is contained in:
Hakan Seven committed 2026-10-02 10:17:54 +03:00
commit a1d0cf3873
47 files changed
+2970 -490

No files matched your search

+12
View File
@@ -618,6 +618,18 @@ fn build_defn(
continue
}
_ => {
// A standalone definition draws its tag; as block content a
// constant one draws its value.
let shown;
let entity = match entity {
EntityType::AttributeDefinition(ad) => {
let mut value = ad.clone();
value.tag = ad.default_value.clone();
shown = EntityType::AttributeDefinition(value);
&shown
}
other => other,
};
// A wide polyline inside a block carries its `world_width` on
// the LocalWire; `emit_wire` scales it by the insert transform
// so the shader band matches the scaled geometry (same band the