Merge branch 'codex/fbx-diffuse-materials' into codex/fbx-package

This commit is contained in:
Dylan M. Taylor committed 2026-11-15 18:54:20 +00:00
commit 7826b2524a
1 file changed
+6 -6
+6 -6
View File
@@ -921,12 +921,12 @@ impl Document {
paths.push(path);
}
}
if !paths.is_empty() {
if let Some(bytes) = resolve(&paths) {
budget.take(Some(bytes.len()), "a resolved image")?;
image = Some(bytes);
break;
}
if !paths.is_empty()
&& let Some(bytes) = resolve(&paths)
{
budget.take(Some(bytes.len()), "a resolved image")?;
image = Some(bytes);
break;
}
}
}