forked from 1b-agent/opencadstudio-upstream
fix: restore workspace verification
This commit is contained in:
1 parent
d36134900d
commit
1dded7f881
19 files changed
+91
-71
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user