mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
Merge branch 'codex/fbx-diffuse-materials' into codex/fbx-package
This commit is contained in:
commit
7826b2524a
1 file changed
+6
-6
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user