forked from 1b-agent/opencadstudio-upstream
fix(test): pass anno_scale arg to expand_insert in text_font_rendering
The annotative feature (1b037a6) added a 15th `anno_scale: f32` parameter to `scene::cache::block_cache::expand_insert` and updated the production call sites, but the text_font_rendering integration test was left at 14 arguments, so the test binary fails to compile with E0061 once rebuilt.
Pass `1.0` (no annotative scaling), matching the `BlockCache::build(&doc, 1.0, ...)` call the test already uses.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
e9976270f6
commit
a5c3af42ed
1 file changed
+3
@@ -72,6 +72,9 @@ fn expand_block_mtext(
|
||||
None,
|
||||
false,
|
||||
[0.0, 0.0, 0.0, 1.0],
|
||||
// Annotation scale: 1.0 = no annotative scaling, matching the
|
||||
// `BlockCache::build(&doc, 1.0, ...)` call above.
|
||||
1.0,
|
||||
)
|
||||
.expect("block defn is cached")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user