forked from 1b-agent/opencadstudio-upstream
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:
1 parent
3a5591e036
commit
19629d1246
12 files changed
+902
-557
No files matched your search
@@ -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| {
|
||||
|
||||
Reference in new issue
Block a user