fix png import

This commit is contained in:
Stewart Allen 2025-06-14 01:39:45 -04:00
commit 1f470555ec
6 changed files with 263 additions and 38 deletions

View file

@ -76,8 +76,8 @@ class MeshModel extends meshObject {
super(id);
let { file, mesh, vertices } = data;
if (!mesh) {
dbug.error(`'${file}' missing mesh data`);
if (!(mesh || vertices)) {
meshApi.dbug.error(`'${file}' missing mesh data`);
return;
}