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 crash when there is no bones to rename when retargeting an imported skeleton #88109

Closed

Conversation

ydeltastar
Copy link
Contributor

Fixes #88086

@tdaven
Copy link
Contributor

tdaven commented Feb 8, 2024

Wonder if #87905 would also fix this.

@ydeltastar
Copy link
Contributor Author

@tdaven Tested it and it does fix the issue.

@fire
Copy link
Member

fire commented Feb 9, 2024

Does the other pr supersede this one?

@tdaven
Copy link
Contributor

tdaven commented Feb 9, 2024

I think so since this only works when the map is empty where the other PR prevents bad lookups on a const HashMap with '[]' which purposely crashes but I was going to leave that decision up to a reviewer.

@fire
Copy link
Member

fire commented Feb 9, 2024

#87905 supersedes this according to tdaven. Will archive this pull request this in a bit unless there's other opinions.

@ydeltastar
Copy link
Contributor Author

Sounds good to me. Anything as long as retargeting is working.

@ydeltastar
Copy link
Contributor Author

Crash fixed with the merging of #81746

@ydeltastar ydeltastar closed this Apr 26, 2024
@ydeltastar ydeltastar deleted the fix-skeleton-renamer branch April 26, 2024 23:21
@AThousandShips AThousandShips removed this from the 4.3 milestone Apr 27, 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.

Editor crashes when importing a skeleton with bone names that already match the retargeting profile
4 participants