Skip to content

Commit

Permalink
Logging tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Sep 13, 2024
1 parent 568d7db commit 6bed7a9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/ifc2gltf2xgf/ifc2gltf2xgf.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,12 @@ try {

const convertGLTFFiles = (done) => {

console.log("convertGLTFFiles")

let i = 0;

const convertNextGLTFFile = () => {

const gltfSrc = gltfManifest.gltfOutFiles[i];

console.log("convertNextGLTFFile: " + gltfSrc)

const gltfFileName = path.basename(gltfSrc);
const gltfFullPath = path.join(basePath, gltfFileName);
const outputFileName = getFileNameWithoutExtension(gltfSrc);
Expand Down Expand Up @@ -226,7 +222,7 @@ try {
fs.writeFileSync(xgfChunkManifestSrc, JSON.stringify(xgfChunkManifest));
const conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2);
logInfo("Conversion time: " + conversionTime + " s");
logInfo(`Done.`);
logInfo(`Done.\n`);
process.exit(0);
}

Expand Down

0 comments on commit 6bed7a9

Please sign in to comment.