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