mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2025-03-03 06:51:43 -05:00
Fix jsHint warnings
This commit is contained in:
parent
10925599e1
commit
06b68cd6a0
@ -333,7 +333,7 @@ function createGltf(data, inputPath, modelName, done) {
|
|||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
done(gltf);
|
done(gltf);
|
||||||
})
|
});
|
||||||
} else {
|
} else {
|
||||||
done(gltf);
|
done(gltf);
|
||||||
}
|
}
|
||||||
|
@ -293,7 +293,7 @@ function getMaterials(mtlPath, hasMaterialGroups, done) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getObjInfo(objFile, inputPath, done) {
|
function getObjInfo(objFile, inputPath, done) {
|
||||||
var mtlPath = undefined;
|
var mtlPath;
|
||||||
var hasMaterialGroups = false;
|
var hasMaterialGroups = false;
|
||||||
var hasPositions = false;
|
var hasPositions = false;
|
||||||
var hasNormals = false;
|
var hasNormals = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user