fix(blocks): unify block-backed content

Route pictures, table cells, leader content, symbols, and arrows through one dependency and transform graph.\n\nRefs #864
This commit is contained in:
Hakan Seven committed 2026-08-31 01:09:32 +03:00
1 parent 3a5591e036
commit 19629d1246
12 files changed
+902 -557

No files matched your search

+6 -4
View File
@@ -2091,15 +2091,17 @@ fn custom_arrow_from_block(
true,
&depths,
);
let insert = acadrust::entities::Insert::new(
record.name.clone(),
let block_use = crate::scene::render_graph::block_use_from_handle(
doc,
record.handle,
crate::scene::render_graph::BlockRole::ArrowHead,
acadrust::types::Vector3::ZERO,
);
)?;
let mut lines = Vec::new();
let mut fill = Vec::new();
let mut deferred_hatch = false;
graph.walk_insert(
&insert,
&block_use.insert,
record.handle,
|_, _| true,
|entity, context| {