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 path handling in FBX and Blend importers #59998

Merged

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Apr 7, 2022

Fixes #59996 (confirmed buggy both on Linux and Windows, and fixed by this PR).

It's now successful with the following names:

image

It still fails with names that contain either " or \n (as two characters, not an actual newline), but that's a pre-existing Godot bug in the import system which affects other importers too. Edit: Reported as #60000.

@akien-mga akien-mga added this to the 4.0 milestone Apr 7, 2022
@akien-mga akien-mga requested a review from a team as a code owner April 7, 2022 21:40
@fire
Copy link
Member

fire commented Apr 7, 2022

Can you add the test project to https://github.com/godotengine/godot-tests?

Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#59996 (comment) tested and reported working.

@akien-mga
Copy link
Member Author

Can you add the test project to godotengine/godot-tests?

Probably not until next week, but I can try to do it then. The test case should just be to add the smallest possible .fbx and .blend files with weird names like shown above.

@akien-mga akien-mga merged commit ae2d53c into godotengine:master Apr 7, 2022
@akien-mga akien-mga deleted the fbx-blend-importers-path-handling branch April 7, 2022 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FBX import using FBX2glTF not working
2 participants