fix
This commit is contained in:
1 parent
3a659a52c7
commit
401c421313
1 file changed
+1
-1
@@ -54,7 +54,7 @@ for (const { fbx, key } of SOURCES) {
|
|||||||
const target = SOURCE_TARGETS[key];
|
const target = SOURCE_TARGETS[key];
|
||||||
console.log(`Processando ${fbx} (${key})...`);
|
console.log(`Processando ${fbx} (${key})...`);
|
||||||
|
|
||||||
const doc = io.read(inPath);
|
const doc = await io.read(inPath);
|
||||||
const root = doc.getRoot();
|
const root = doc.getRoot();
|
||||||
const scene = root.getDefaultScene() ?? root.listScenes()[0];
|
const scene = root.getDefaultScene() ?? root.listScenes()[0];
|
||||||
if (!scene) {
|
if (!scene) {
|
||||||
|
|||||||
Reference in new issue
Block a user