You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ressources are in separate folders, I get an error in the post processing function to copy files from tmp -> destination folder because folders don't exist.
I made this change in the src/gltf/writer.js (line. 183) to make this work : for (const name of Object.getOwnPropertyNames(result.separateResources)) { fse.ensureDirSync(path.dirname(path.join(outputFolder, name))); fse.writeFileSync(path.join(outputFolder, name), result.separateResources[name]); }
The text was updated successfully, but these errors were encountered:
AlexPiro
changed the title
Separate ressource folders error when post processing
Error on copy of separate ressource folders when post processing
Dec 8, 2019
When ressources are in separate folders, I get an error in the post processing function to copy files from tmp -> destination folder because folders don't exist.
I made this change in the
src/gltf/writer.js
(line. 183) to make this work :for (const name of Object.getOwnPropertyNames(result.separateResources)) { fse.ensureDirSync(path.dirname(path.join(outputFolder, name))); fse.writeFileSync(path.join(outputFolder, name), result.separateResources[name]); }
The text was updated successfully, but these errors were encountered: