fix: restore workspace verification

This commit is contained in:
Hakan Seven committed 2026-08-15 23:11:26 +03:00
1 parent d36134900d
commit 1dded7f881
19 files changed
+91 -71

No files matched your search

+11 -1
View File
@@ -49,12 +49,21 @@ fn expand_block_mtext(
let ins = Insert::new("LABEL_BLOCK", insert_at);
doc.add_entity(EntityType::Insert(ins.clone())).unwrap();
let cache = BlockCache::build(&doc, 1.0, [0.0, 0.0, 0.0, 1.0], &Default::default());
let cache = BlockCache::build(
&doc,
1.0,
None,
true,
[0.0, 0.0, 0.0, 1.0],
None,
&Default::default(),
);
expand_insert(
&cache,
&ins,
Handle::new(999),
[1.0, 1.0, 1.0, 1.0],
0,
0.0,
[0.0; 8],
1.0,
@@ -66,6 +75,7 @@ fn expand_block_mtext(
pat: [0.0; 8],
lw_px: 1.0,
},
0,
false,
1.0,
None,