fix png import
This commit is contained in:
parent
6566c45f9a
commit
1f470555ec
6 changed files with 263 additions and 38 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue