Merge branch 'codex/fbx-package' into codex/fbx-integration

This commit is contained in:
Dylan M. Taylor committed 2026-11-15 18:38:06 +00:00
commit 4a84c00372
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ impl<'a> Package<'a> {
.read(&self.name, self.limits.max_model_bytes)
.map_err(|e| malformed(KIND, format!("package: {e}")))?
.ok_or_else(|| malformed(KIND, "package FBX is missing"))?;
if is_package(bytes) {
if is_package(&bytes) {
return Err(malformed(KIND, "the package holds another package"));
}
Ok(bytes)