Export for Screens: the asset-name test sets main's 3D format field

This commit is contained in:
bflatastic
2026-11-09 02:03:07 +07:00
parent c085185296
commit 8199f30c74
+1 -1
View File
@@ -78,7 +78,7 @@ mod tests {
fn name_after(names: &[&str]) -> String {
let mut doc = Document::new(100.0, 100.0);
for (i, n) in names.iter().enumerate() {
doc.assets.push(ExportAsset { id: i as u64 + 1, name: (*n).to_string(), nodes: vec![] });
doc.assets.push(ExportAsset { id: i as u64 + 1, name: (*n).to_string(), nodes: vec![], format_3d: None });
}
doc.next_asset_name()
}