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 Scene Importer crashing when animation or mesh save paths are invalid #83856

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

BlueCube3310
Copy link
Contributor

@BlueCube3310 BlueCube3310 commented Oct 23, 2023

Fixes #79145.
Supersedes #80017.

Adds an additional check to the Advanced Scene Import settings to ensure the meshes and animations are to be saved in existing directories. Now, if any of the save paths are invalid, the whole file will fail to import with an error instead.

@BlueCube3310 BlueCube3310 requested a review from a team as a code owner October 23, 2023 19:32
@Calinou Calinou added this to the 4.2 milestone Oct 23, 2023
@Calinou Calinou added the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Oct 23, 2023
@AThousandShips
Copy link
Member

Didn't realize the fix was as integrated with the other PR as it was, but still works as a separate PR, though might get merged alone if approved as it superseeds the other one

@YuriSizov YuriSizov added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Nov 13, 2023
@YuriSizov YuriSizov modified the milestones: 4.2, 4.3 Nov 13, 2023
@BlueCube3310 BlueCube3310 changed the title Fix Scene Importer crashing when animation save path is invalid Fix Scene Importer crashing when animation or mesh save paths are invalid Dec 8, 2023
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@akien-mga akien-mga merged commit e53e60e into godotengine:master Feb 13, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Mar 11, 2024
@akien-mga
Copy link
Member

Cherry-picked for 4.2.2.

@akien-mga akien-mga removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Mar 11, 2024
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.

Renaming the mesh save path folder (advanced import settings) crashes the engine
5 participants