Skip to content

Fix for output paths with multiple extensions#272

Open
mdrinkhere wants to merge 1 commit intoKhronosGroup:mainfrom
mdrinkhere:fix-multiple-extensions
Open

Fix for output paths with multiple extensions#272
mdrinkhere wants to merge 1 commit intoKhronosGroup:mainfrom
mdrinkhere:fix-multiple-extensions

Conversation

@mdrinkhere
Copy link
Copy Markdown

Fixes #271

If the output file path has multiple file extensions and the binary flag is set, only the final extension will be replaced.

Running COLLADA2GLTF-bin with the following arguments will now result in these output files:
COLLADA2GLTF-bin -i input_file.ext.dae -o output_file.ext.glb -b -> output_file.ext.glb
COLLADA2GLTF-bin -i input_file.ext.dae -o output_file.ext.xyz -b -> output_file.ext.glb
COLLADA2GLTF-bin -i input_file.ext.dae -o output_file.glb -b -> output_file.glb
COLLADA2GLTF-bin -i input_file.ext.dae -o output_file.xyz -b -> output_file.glb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected output file name when input and output have multiple extensions

1 participant