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

Auto-append .o3d extension if filename is typed without it #7

Closed
jem-suu opened this issue Aug 26, 2022 · 1 comment
Closed

Auto-append .o3d extension if filename is typed without it #7

jem-suu opened this issue Aug 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@jem-suu
Copy link

jem-suu commented Aug 26, 2022

Currently, if a filename is typed out (replacing the auto generated one) and if the .o3d file extension is forgotten, it generates a file with no extension as the save dialog does not auto-complete the filename.

Other exporters (quickly tested with the COLLADA exporter) append the extension once the name is set, so possibly adding this functionality could be a minor, but nice, quality of life improvement.

(Upon a bit of digging, I've put this as an enhancement rather than a bug as I'm not sure if it was intentionally scripted or something to do with Blender 3.0 messing up the plugin again)

@jem-suu jem-suu added the enhancement New feature or request label Aug 26, 2022
@Road-hog123
Copy link
Owner

Can you confirm that an O3D file with no suffix does not work in OMSI?

@Road-hog123 Road-hog123 added the bug Something isn't working label Aug 30, 2022
@Road-hog123 Road-hog123 self-assigned this Aug 30, 2022
Road-hog123 added a commit that referenced this issue Aug 30, 2022
When the filename field loses focus it will now be checked for validity.
Filenames with no or the wrong suffix will be corrected. If the filename
is cleared, it will be reset to the initial value when the fileselect
was invoked.

Fixes #7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants