Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for output paths with multiple extensions #272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdrinkhere
Copy link

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