Fix output file name

This commit is contained in:
Sean Lilley 2017-04-05 09:13:28 -04:00
parent bedbb6ef96
commit 72c20eb6ee

View File

@ -74,7 +74,7 @@ function convert(objPath, gltfPath, options) {
}
var basePath = path.dirname(gltfPath);
var modelName = path.basename(objPath, path.extname(objPath));
var modelName = path.basename(gltfPath, path.extname(gltfPath));
var extension = path.extname(gltfPath);
if (extension === '.glb') {
binary = true;